diff --git a/.drone.yml b/.drone.yml index 783544a..bb8c554 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 \ No newline at end of file