|
|
|
@ -27,8 +27,7 @@ local custom_clone = {
|
|
|
|
|
'chmod 600 $HOME/.ssh/config && chmod 600 $HOME/.ssh/known_hosts && chmod 600 $HOME/.ssh/id_ed25519_drone_ci_deploy',
|
|
|
|
|
'eval "$(ssh-agent -s)"',
|
|
|
|
|
'ssh-add $HOME/.ssh/id_ed25519_drone_ci_deploy',
|
|
|
|
|
'ssh-keyscan -v -t ed25519 github.com >> $HOME/.ssh/known_hosts',
|
|
|
|
|
'ssh -v -T git@github.com -i $HOME/.ssh/id_ed25519_drone_ci_deploy -F $HOME/.ssh/config -o UserKnownHostsFile=$HOME/.ssh/known_hosts',
|
|
|
|
|
'ssh-keyscan -t ed25519 github.com >> $HOME/.ssh/known_hosts',
|
|
|
|
|
'git init',
|
|
|
|
|
'git remote add origin $DRONE_GIT_SSH_URL',
|
|
|
|
|
'git fetch --depth=1 origin +$DRONE_COMMIT_REF',
|
|
|
|
|