Variable usage tweak

pull/959/head
Morgan Pretty 3 months ago
parent 53d4b8425d
commit 99be9c8fbc

@ -17,7 +17,7 @@ local custom_clone = {
environment: { CLONE_KEY: { from_secret: 'CLONE_KEY' } },
commands: [
'eval "$(ssh-agent -s)"',
'echo "$CLONE_KEY" | ssh-add -',
'echo "${CLONE_KEY}" | ssh-add -',
'mkdir -p ~/.ssh && touch ~/.ssh/config && touch ~/.ssh/known_hosts && chmod -R 400 ~/.ssh',
'git init',
'git remote add origin $DRONE_GIT_SSH_URL',

Loading…
Cancel
Save