UPD 8
Some checks failed
Upload to s3 / build_and_deploy (push) Failing after 1m55s

This commit is contained in:
stirelshka8 2024-07-14 17:55:25 +03:00
parent 1ac94cb792
commit 6d2aba9da5

View File

@ -16,20 +16,13 @@ jobs:
sudo apt-get update
sudo apt-get install -y awscli
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1
- name: Upload to s3
run: |
aws s3 cp ./install_agent.sh . s3://${{ secrets.AWS_HOST }}/relaese
aws s3 cp ./install_agent.sh s3://${{ secrets.AWS_HOST }}/relaese --profile default --region us-east-1 --access-key ${{ secrets.AWS_ACCESS_KEY_ID }} --secret-key ${{ secrets.AWS_SECRET_ACCESS_KEY }}
- name: Create version file
run: |
echo "${tags}" > version.txt
aws s3 cp ./install_agent.sh . s3://${{ secrets.AWS_HOST }}/docs
aws s3 cp ./version.txt s3://${{ secrets.AWS_HOST }}/docs --profile default --region us-east-1 --access-key ${{ secrets.AWS_ACCESS_KEY_ID }} --secret-key ${{ secrets.AWS_SECRET_ACCESS_KEY }}