Test telegram notification
This commit is contained in:
parent
1cbf112e80
commit
942aafb90b
13
.drone.yml
13
.drone.yml
@ -17,4 +17,15 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- apk update
|
- apk update
|
||||||
- apk add coreutils perl
|
- 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
|
Loading…
Reference in New Issue
Block a user