ssh again
Gitea Actions Demo / build_and_push (push) Failing after 3m3s Details

This commit is contained in:
artem 2025-03-30 09:05:22 +03:00
parent 91b188c883
commit 73204ee887
1 changed files with 3 additions and 2 deletions

View File

@ -23,10 +23,11 @@ jobs:
push: true
tags: gitea.webart-tech.ru/webart/strava-frontend:${{ gitea.sha }}
- name: Deploy
with:
ssh-key: ${{ secrets.DEPLOY_KEY }}
run: |
ssh-keyscan -t rsa gitea.webart-tech.ru >> ~/.ssh/known_hosts
echo "${{ secrets.DEPLOY_KEY }}" >> ~/.ssh/id_ed25519
eval $(ssh-agent -s)
ssh-add ~/.ssh/id_ed25519
git clone git@gitea.webart-tech.ru:webart/kuber-deploy.git deploy
cd ./deploy
sed -i -E 's/strava-frontend:.+/strava-frontend:${{ gitea.sha }}/g' strava.yml