This commit is contained in:
parent
8c2875209e
commit
429a19e861
@ -16,13 +16,19 @@ jobs:
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y awscli
|
||||
|
||||
- name: AwsCli coigure
|
||||
run: |
|
||||
aws configure set aws_access_key_id ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
aws configure set aws_secret_access_key ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
aws configure set default.region ${{ secrets.AWS_REGION }}
|
||||
|
||||
- name: Upload to s3
|
||||
run: |
|
||||
aws s3 cp ./install_agent.sh s3://${{ secrets.AWS_HOST }}/relaese --profile default --region us-east-1 --access-key 5PNQv3YHjtD9BxOi0XyZ --secret-key Kh6kHobHJwaS7OeCohwoAIXYPnq2vqm1Tmt1MCAz
|
||||
aws s3 cp ./install_agent.sh s3://${{ secrets.AWS_HOST }}/relaese
|
||||
|
||||
- name: Create version file
|
||||
run: |
|
||||
echo "${tags}" > version.txt
|
||||
aws s3 cp ./version.txt s3://${{ secrets.AWS_HOST }}/docs --profile default --region us-east-1 --access-key 5PNQv3YHjtD9BxOi0XyZ --secret-key Kh6kHobHJwaS7OeCohwoAIXYPnq2vqm1Tmt1MCAz
|
||||
aws s3 cp ./version.txt s3://${{ secrets.AWS_HOST }}/docs
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user