деплой
This commit is contained in:
parent
ccee3cf8e3
commit
b1480a8f1b
|
|
@ -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
|
||||
Loading…
Reference in New Issue