UPD 10
Some checks failed
Upload to s3 / build_and_deploy (push) Failing after 2m4s

This commit is contained in:
stirelshka8 2024-07-14 18:08:20 +03:00
parent 8c2875209e
commit 429a19e861

View File

@ -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