деплой

This commit is contained in:
artem 2024-01-13 21:48:47 +03:00
parent ec02f402ea
commit ef02998956
1 changed files with 3 additions and 2 deletions

View File

@ -24,10 +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 - into folder
- name: Deploy
run: |
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'
git commit -am 'auto-deploy'
echo Start_Deploy
git push https://${{ secrets.DOCKER_USERNAME }}:${{ secrets.DOCKER_PASSWORD }}@gitea.webart-tech.ru/webart/kuber-deploy