notes/.drone.yml
Nikolai Rodionov 64b0ff7f8e
Enable cron
2023-04-15 19:46:22 +02:00

31 lines
617 B
YAML

---
# ----------------------------------------------
# -- Check subs
# ----------------------------------------------
kind: pipeline
type: kubernetes
name: Check subs
trigger:
event:
- cron
cron:
- daily
steps:
- name: Check subs
image: alpine:latest
commands:
- apk update
- apk add coreutils perl
- ./money/compare.pl > message_file.tpl
- name: Send telegram notification
when:
status:
- failure
image: appleboy/drone-telegram
settings:
token:
from_secret: TELEGRAM_TOKEN
to: 131601077
message_file: message_file.tpl