kind: pipeline type: docker name: solve trigger: event: [cron] cron: [daily-solve] steps: - name: run image: joyzoursky/python-chromedriver:3.9-selenium environment: SLACK_HOOK_URL: from_secret: slack_hook_url commands: - 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