diff --git a/.drone.jsonnet b/.drone.jsonnet index 3f28d3261..bd47597ff 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -17,10 +17,10 @@ local custom_clone = { environment: { CLONE_KEY: { from_secret: 'CLONE_KEY' } }, commands: [ ||| - if [ -z "$CLONE_KEY" ]; then - echo -e "\n\n\n\e[31;1mUnable to checkout repo: CLONE_KEY not set\e[0m" - exit 1 - fi + if [ -z "$CLONE_KEY" ]; then + echo -e "\n\n\n\e[31;1mUnable to checkout repo: CLONE_KEY not set\e[0m" + exit 1 + fi |||, 'eval "$(ssh-agent -s)"', 'echo "${CLONE_KEY}" | ssh-add -',