From f5a090309d1edb9c75e3c8d0500c4e3ba3285252 Mon Sep 17 00:00:00 2001 From: stirelshka8 Date: Fri, 19 Jul 2024 19:43:48 +0300 Subject: [PATCH] UPD --- .gitea/workflows/publish.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/publish.yml b/.gitea/workflows/publish.yml index ee4d39e..a7b1e17 100644 --- a/.gitea/workflows/publish.yml +++ b/.gitea/workflows/publish.yml @@ -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