This commit is contained in:
parent
7b89e3ddac
commit
16efd6a333
@ -24,13 +24,12 @@ jobs:
|
||||
|
||||
- name: Upload to s3
|
||||
run: |
|
||||
TAG="${{ github.ref/refs\/tags\// }}"
|
||||
aws --endpoint-url=http://${{ secrets.AWS_HOST }} s3 cp ./install_agent.sh s3://release/install_agent_$TAG.sh
|
||||
aws --endpoint-url=http://${{ secrets.AWS_HOST }} s3 cp ./install_agent.sh s3://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_install_agent.txt s3://doc
|
||||
echo "$TAG" > versionagent.txt
|
||||
aws --endpoint-url=http://${{ secrets.AWS_HOST }} s3 cp ./versionagent.txt s3://doc
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user