From a5b4b655d13142ea97efbbff8cdd608a7a9cf41d Mon Sep 17 00:00:00 2001 From: artem Date: Sat, 13 Jan 2024 21:03:34 +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 | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index 9002697..7964429 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -22,10 +22,13 @@ jobs: context: . push: true tags: gitea.webart-tech.ru/webart/fyrox-platformer/platformer:${{ gitea.sha }} - - name: Deploy + - name: Deploy - clone run: git clone https://gitea.webart-tech.ru/webart/kuber-deploy.git - - name: Deploy - run: cd ./kuber-deploy && \ - sed -i 's/platformer:.+/platformer:${{ gitea.sha }}/g' fyrox-platformer.yml \ - git commit -am 'auto-deploy' \ - git push \ No newline at end of file + - name: Deploy - into folder + run: cd ./kuber-deploy + - name: Deploy - replace + run: sed -i 's/platformer:.+/platformer:${{ gitea.sha }}/g' fyrox-platformer.yml + - name: Deploy - commit + run: git commit -am 'auto-deploy' + - name: Deploy - push + run: git push \ No newline at end of file