деплой

This commit is contained in:
artem 2024-01-13 21:03:34 +03:00
parent 4ec17f190a
commit a5b4b655d1
1 changed files with 9 additions and 6 deletions

View File

@ -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
- 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