Test telegram notification

This commit is contained in:
Nikolai Rodionov 2023-04-15 19:44:05 +02:00
parent 1cbf112e80
commit 942aafb90b
No known key found for this signature in database
GPG Key ID: 19DB54039EBF8F10

View File

@ -17,4 +17,15 @@ steps:
commands:
- apk update
- apk add coreutils perl
- ./money/compare.pl
- ./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