diff --git a/.drone.yml b/.drone.yml index 638ba51..de63adc 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,5 +13,7 @@ steps: SLACK_HOOK_URL: from_secret: slack_hook_url commands: - - pip install requests + # only display pip output if command failed + - INSTALL_OUTPUT=$(pip install requests) | true # we don't want to stop execution quite yet + - if [[ ${PIPESTATUS[0]} > 0 ]]; then echo "$INSTALL_OUTPUT"; exit 1; fi # NOW we stop - python bot.py