diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index 1454503..9e13df0 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -21,4 +21,10 @@ jobs: with: context: . push: true - tags: gitea.webart-tech.ru/webart/fyrox-platformer/platformer:${{ gitea.sha }} \ No newline at end of file + tags: gitea.webart-tech.ru/webart/fyrox-platformer/platformer:${{ gitea.sha }} + - name: Deploy + run: git pull https://gitea.webart-tech.ru/webart/kuber-deploy.git && \ + 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