деплой

This commit is contained in:
artem 2024-01-13 21:52:58 +03:00
parent f917cad56f
commit 5ed806757a
1 changed files with 4 additions and 4 deletions

View File

@ -24,11 +24,11 @@ jobs:
tags: gitea.webart-tech.ru/webart/fyrox-platformer/platformer:${{ gitea.sha }} tags: gitea.webart-tech.ru/webart/fyrox-platformer/platformer:${{ gitea.sha }}
- name: Deploy - clone - name: Deploy - clone
run: git clone https://gitea.webart-tech.ru/webart/kuber-deploy.git deploy run: git clone https://gitea.webart-tech.ru/webart/kuber-deploy.git deploy
- name: Deploy - name: Deploy - into folder
run: | run: |
cd ./deploy 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 config --global user.email "deploy@deploy.deploy"
git commit -am "Auto-Deploy" git commit -am 'auto-deploy'
echo start 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 git push https://${{ secrets.DOCKER_USERNAME }}:${{ secrets.DOCKER_PASSWORD }}@gitea.webart-tech.ru/webart/kuber-deploy