2022-01-20 17:26:40 +00:00
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: solve
|
|
|
|
trigger:
|
|
|
|
event: [cron]
|
|
|
|
cron: [daily-solve]
|
|
|
|
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: run
|
|
|
|
image: joyzoursky/python-chromedriver:3.9-selenium
|
|
|
|
environment:
|
2022-01-25 02:32:34 +00:00
|
|
|
SLACK_TOKEN:
|
|
|
|
from_secret: slack_token
|
|
|
|
SLACK_CHANNEL:
|
|
|
|
from_secret: SLACK_CHANNEL
|
2022-01-20 17:26:40 +00:00
|
|
|
commands:
|
2022-01-21 18:52:23 +00:00
|
|
|
- bash run.sh
|