деплой

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: with:
context: . context: .
push: true push: true
tags: gitea.webart-tech.ru/webart/strava-frontend/platformer:${{ gitea.sha }} tags: gitea.webart-tech.ru/webart/strava-frontend:${{ gitea.sha }}
# - name: Deploy - name: Deploy
# run: | run: |
# git clone https://gitea.webart-tech.ru/webart/kuber-deploy.git deploy 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' strava-frontend.yml sed -i -E 's/strava-frontend:.+/strava-frontend:${{ gitea.sha }}/g' strava.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'
# 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