ssh again
Gitea Actions Demo / build_and_push (push) Failing after 3m3s
Details
Gitea Actions Demo / build_and_push (push) Failing after 3m3s
Details
This commit is contained in:
parent
91b188c883
commit
73204ee887
|
|
@ -23,10 +23,11 @@ jobs:
|
||||||
push: true
|
push: true
|
||||||
tags: gitea.webart-tech.ru/webart/strava-frontend:${{ gitea.sha }}
|
tags: gitea.webart-tech.ru/webart/strava-frontend:${{ gitea.sha }}
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
with:
|
|
||||||
ssh-key: ${{ secrets.DEPLOY_KEY }}
|
|
||||||
run: |
|
run: |
|
||||||
ssh-keyscan -t rsa gitea.webart-tech.ru >> ~/.ssh/known_hosts
|
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
|
git clone git@gitea.webart-tech.ru:webart/kuber-deploy.git deploy
|
||||||
cd ./deploy
|
cd ./deploy
|
||||||
sed -i -E 's/strava-frontend:.+/strava-frontend:${{ gitea.sha }}/g' strava.yml
|
sed -i -E 's/strava-frontend:.+/strava-frontend:${{ gitea.sha }}/g' strava.yml
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue