ssh again
Gitea Actions Demo / build_and_push (push) Failing after 1m18s Details

This commit is contained in:
artem 2025-03-30 09:30:01 +03:00
parent 90ff466f16
commit d6a476ce7f
1 changed files with 3 additions and 0 deletions

View File

@ -29,9 +29,12 @@ jobs:
chmod 600 /root/.ssh/id_ed25519
eval $(ssh-agent -s)
ssh-add ~/.ssh/id_ed25519
echo '1'
git clone git@gitea.webart-tech.ru:webart/kuber-deploy.git deploy
echo '2'
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'
echo '3'
git push https://${{ secrets.DOCKER_USERNAME }}:${{ secrets.DOCKER_PASSWORD }}@gitea.webart-tech.ru/webart/kuber-deploy