From 373e318e8dab6687d61bfd731f994ebd1d70f75f Mon Sep 17 00:00:00 2001 From: artem Date: Sat, 13 Jan 2024 22:00:59 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B4=D0=B5=D0=BF=D0=BB=D0=BE=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/demo.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index cb64a64..7c30a6a 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -22,13 +22,11 @@ jobs: context: . push: true tags: gitea.webart-tech.ru/webart/fyrox-platformer/platformer:${{ gitea.sha }} - - name: Deploy - clone - run: git clone https://gitea.webart-tech.ru/webart/kuber-deploy.git deploy - - name: Deploy - into folder + - name: Deploy run: | + git clone https://gitea.webart-tech.ru/webart/kuber-deploy.git deploy cd ./deploy sed -i -E 's/platformer:.+/platformer:${{ gitea.sha }}/g' fyrox-platformer.yml git config --global user.email "deploy@deploy.deploy" git commit -am 'auto-deploy' - echo https://${{ secrets.DOCKER_USERNAME }}:${{ secrets.DOCKER_PASSWORD }}@gitea.webart-tech.ru/webart/kuber-deploy git push https://${{ secrets.DOCKER_USERNAME }}:${{ secrets.DOCKER_PASSWORD }}@gitea.webart-tech.ru/webart/kuber-deploy \ No newline at end of file