ssh again
Gitea Actions Demo / build_and_push (push) Failing after 1m18s
Details
Gitea Actions Demo / build_and_push (push) Failing after 1m18s
Details
This commit is contained in:
parent
90ff466f16
commit
d6a476ce7f
|
|
@ -29,9 +29,12 @@ jobs:
|
||||||
chmod 600 /root/.ssh/id_ed25519
|
chmod 600 /root/.ssh/id_ed25519
|
||||||
eval $(ssh-agent -s)
|
eval $(ssh-agent -s)
|
||||||
ssh-add ~/.ssh/id_ed25519
|
ssh-add ~/.ssh/id_ed25519
|
||||||
|
echo '1'
|
||||||
git clone git@gitea.webart-tech.ru:webart/kuber-deploy.git deploy
|
git clone git@gitea.webart-tech.ru:webart/kuber-deploy.git deploy
|
||||||
|
echo '2'
|
||||||
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 config --global user.email "deploy@deploy.deploy"
|
git config --global user.email "deploy@deploy.deploy"
|
||||||
git commit -am 'auto-deploy'
|
git commit -am 'auto-deploy'
|
||||||
|
echo '3'
|
||||||
git push https://${{ secrets.DOCKER_USERNAME }}:${{ secrets.DOCKER_PASSWORD }}@gitea.webart-tech.ru/webart/kuber-deploy
|
git push https://${{ secrets.DOCKER_USERNAME }}:${{ secrets.DOCKER_PASSWORD }}@gitea.webart-tech.ru/webart/kuber-deploy
|
||||||
Loading…
Reference in New Issue