diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index 33e2250..cb64a64 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -24,11 +24,11 @@ jobs: 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 + - name: Deploy - into folder run: | cd ./deploy - sed -i -E 's/platformer:.+/platformer:${{ gitea.sha }}/g' fyrox-platformer.yml + 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 start auto-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