деплой
This commit is contained in:
parent
5ed806757a
commit
373e318e8d
|
|
@ -22,13 +22,11 @@ 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 - clone
|
- name: Deploy
|
||||||
run: git clone https://gitea.webart-tech.ru/webart/kuber-deploy.git deploy
|
|
||||||
- name: Deploy - into folder
|
|
||||||
run: |
|
run: |
|
||||||
|
git clone https://gitea.webart-tech.ru/webart/kuber-deploy.git deploy
|
||||||
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 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
|
||||||
Loading…
Reference in New Issue