wordlebot/.drone.yml
Joseph Montanaro 5ea90af67b hide pip output
2022-01-21 10:11:33 -08:00

19 lines
411 B
YAML

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
- if [[ ${PIPESTATUS[0]} > 0 ]]; then echo "$INSTALL_OUTPUT"; exit 1; fi
- python bot.py