ssh again
Gitea Actions Demo / build_and_push (push) Failing after 56s Details

This commit is contained in:
artem 2025-03-30 10:05:17 +03:00
parent 28cdca4f0e
commit 3102b2a77e
1 changed files with 1 additions and 2 deletions

View File

@ -24,9 +24,8 @@ jobs:
tags: gitea.webart-tech.ru/webart/strava-frontend:${{ gitea.sha }}
- name: Deploy
run: |
ssh-keyscan -t rsa gitea.webart-tech.ru >> ~/.ssh/known_hosts
git config --global user.email "deploy@deploy.deploy"
git clone https://${{ secrets.DOCKER_USERNAME }}:${{ secrets.DOCKER_PASSWORD }}@gitea.webart-tech.ru:webart/kuber-deploy.git deploy
git clone https://${{ secrets.DOCKER_USERNAME }}:${{ secrets.DOCKER_PASSWORD }}@gitea.webart-tech.ru/webart/kuber-deploy
cd ./deploy
sed -i -E 's/strava-frontend:.+/strava-frontend:${{ gitea.sha }}/g' strava.yml
git commit -am 'auto-deploy'