When the deploy directory has no .git (e.g. after push_dir stripped it), re-clone via HTTPS preserving the existing .env, then continue with the normal pull + up flow. Also sets GIT_SSH_COMMAND on all git calls so the inner Forgejo SSH connection uses UserKnownHostsFile=/dev/null instead of trying to write to /root/.ssh/known_hosts. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| deploy-map.js | ||
| Dockerfile | ||
| package.json | ||