This commit is contained in:
昔念
2026-01-27 00:52:16 +08:00
parent 01eb26e6fa
commit 5ab01e3f75

View File

@@ -26,7 +26,7 @@ steps:
- mkdir -p /root/.ssh
- echo "$WOODPECKER_SSH_KEY" > /root/.ssh/id_ed25519
- chmod 600 /root/.ssh/id_ed25519
- ssh-keyscan codeberg.org >> /root/.ssh/known_hosts
- ssh-keyscan github.com >> /root/.ssh/known_hosts
- git init
- git remote add origin $CI_REPO_CLONE_SSH_URL
- git config core.sshCommand 'ssh -i /root/.ssh/id_ed25519'