1
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user