deploy key
Gitea Actions Demo / build_and_push (push) Failing after 59s Details

This commit is contained in:
artem 2025-03-26 21:44:40 +03:00
parent 6eeeeb4826
commit 91b188c883
1 changed files with 2 additions and 1 deletions

View File

@ -23,9 +23,10 @@ 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
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