Trying to feed local files into the git commands

pull/959/head
Morgan Pretty 4 months ago
parent a7ba159962
commit 9466e6e7ea

@ -28,6 +28,7 @@ local custom_clone = {
'eval "$(ssh-agent -s)"', 'eval "$(ssh-agent -s)"',
'ssh-add $HOME/.ssh/id_ed25519_drone_ci_deploy', 'ssh-add $HOME/.ssh/id_ed25519_drone_ci_deploy',
'ssh-keyscan -t ed25519 github.com >> $HOME/.ssh/known_hosts', 'ssh-keyscan -t ed25519 github.com >> $HOME/.ssh/known_hosts',
'export SSH_KNOWN_HOSTS=$HOME/.ssh/known_hosts',
'git init', 'git init',
'git remote add origin $DRONE_GIT_SSH_URL', 'git remote add origin $DRONE_GIT_SSH_URL',
'git fetch --depth=1 origin +$DRONE_COMMIT_REF', 'git fetch --depth=1 origin +$DRONE_COMMIT_REF',

Loading…
Cancel
Save