This commit is contained in:
parent
1ac94cb792
commit
6d2aba9da5
@ -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 }}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user