деплой

This commit is contained in:
artem 2024-04-25 21:27:09 +03:00
parent ccee3cf8e3
commit b1480a8f1b
1 changed files with 9 additions and 9 deletions

View File

@ -21,12 +21,12 @@ jobs:
with:
context: .
push: true
tags: gitea.webart-tech.ru/webart/strava-frontend/platformer:${{ gitea.sha }}
# - name: Deploy
# run: |
# git clone https://gitea.webart-tech.ru/webart/kuber-deploy.git deploy
# cd ./deploy
# sed -i -E 's/platformer:.+/platformer:${{ gitea.sha }}/g' strava-frontend.yml
# git config --global user.email "deploy@deploy.deploy"
# git commit -am 'auto-deploy'
# git push https://${{ secrets.DOCKER_USERNAME }}:${{ secrets.DOCKER_PASSWORD }}@gitea.webart-tech.ru/webart/kuber-deploy
tags: gitea.webart-tech.ru/webart/strava-frontend:${{ gitea.sha }}
- name: Deploy
run: |
git clone https://gitea.webart-tech.ru/webart/kuber-deploy.git deploy
cd ./deploy
sed -i -E 's/strava-frontend:.+/strava-frontend:${{ gitea.sha }}/g' strava.yml
git config --global user.email "deploy@deploy.deploy"
git commit -am 'auto-deploy'
git push https://${{ secrets.DOCKER_USERNAME }}:${{ secrets.DOCKER_PASSWORD }}@gitea.webart-tech.ru/webart/kuber-deploy