деплой
This commit is contained in:
parent
4ec17f190a
commit
a5b4b655d1
|
|
@ -22,10 +22,13 @@ jobs:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
tags: gitea.webart-tech.ru/webart/fyrox-platformer/platformer:${{ gitea.sha }}
|
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
|
run: git clone https://gitea.webart-tech.ru/webart/kuber-deploy.git
|
||||||
- name: Deploy
|
- name: Deploy - into folder
|
||||||
run: cd ./kuber-deploy && \
|
run: cd ./kuber-deploy
|
||||||
sed -i 's/platformer:.+/platformer:${{ gitea.sha }}/g' fyrox-platformer.yml \
|
- name: Deploy - replace
|
||||||
git commit -am 'auto-deploy' \
|
run: sed -i 's/platformer:.+/platformer:${{ gitea.sha }}/g' fyrox-platformer.yml
|
||||||
git push
|
- name: Deploy - commit
|
||||||
|
run: git commit -am 'auto-deploy'
|
||||||
|
- name: Deploy - push
|
||||||
|
run: git push
|
||||||
Loading…
Reference in New Issue