ssh again
Gitea Actions Demo / build_and_push (push) Failing after 56s
Details
Gitea Actions Demo / build_and_push (push) Failing after 56s
Details
This commit is contained in:
parent
28cdca4f0e
commit
3102b2a77e
|
|
@ -24,9 +24,8 @@ jobs:
|
||||||
tags: gitea.webart-tech.ru/webart/strava-frontend:${{ gitea.sha }}
|
tags: gitea.webart-tech.ru/webart/strava-frontend:${{ gitea.sha }}
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
run: |
|
run: |
|
||||||
ssh-keyscan -t rsa gitea.webart-tech.ru >> ~/.ssh/known_hosts
|
|
||||||
git config --global user.email "deploy@deploy.deploy"
|
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
|
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
|
||||||
git commit -am 'auto-deploy'
|
git commit -am 'auto-deploy'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue