Deploy step fails on netcup host (ssh/git auth) #21
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Symptom
Deploy task #137 on commit
93fdc7dfailed at 'Deploy to host' step with:Likely cause
The repo moved from
libretech/code-crispiestopublic/code-crispieson Gitea. The host's/srv/cc/.git/configlikely still points to the old path, and tengo's SSH key may not have access to the new path, so the workflow'sgit pull --ff-onlyfails.Fix candidates
/srv/cc/.git/configremote URL tossh://tengo@git.librete.ch:41240/public/code-crispies.git.ssh netcup 'cd /srv/cc && git pull'before re-running deploy.Pre-req
Reproduce locally first (CI rule: no try-and-error pushes).