This commit is contained in:
parent
b1db27b929
commit
f5a090309d
@ -16,21 +16,21 @@ jobs:
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y awscli
|
||||
|
||||
- name: AwsCli coigure
|
||||
- name: AwsCli configure
|
||||
run: |
|
||||
aws configure set aws_access_key_id ${{ secrets.AWS_ID }}
|
||||
aws configure set aws_secret_access_key ${{ secrets.AWS_SECRET }}
|
||||
aws configure set default.region ${{ secrets.AWS_REGION }}
|
||||
aws configure set aws_access_key_id MzWljuOGskoOq6zXPsbw
|
||||
aws configure set aws_secret_access_key Ivsw2b0dZMvPYXGrPIQXwjwXNdChIRVAJslcn2DS
|
||||
aws configure set default.region us-east-1
|
||||
|
||||
- name: Upload to s3 release
|
||||
- name: Upload to s3
|
||||
run: |
|
||||
TAG="${{ github.ref/refs\/tags\// }}"
|
||||
aws --endpoint-url=http://${{ secrets.AWS_HOST }}s3 cp ./install_agent_$TAG.sh s3://release
|
||||
aws --endpoint-url=http://78.40.188.97:9000 s3 cp ./install_agent_$TAG.sh s3://release
|
||||
|
||||
- name: Update version release
|
||||
- name: Create version file
|
||||
run: |
|
||||
TAG="${{ github.ref/refs\/tags\// }}"
|
||||
echo "$TAG" > version_install_agent.txt
|
||||
aws --endpoint-url=http://${{ secrets.AWS_HOST }} s3 cp ./version.txt s3://doc
|
||||
aws --endpoint-url=http://78.40.188.97:9000 s3 cp ./version.txt s3://doc
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user