From 76c3003387266c871f7c3da97d79926eab06ad76 Mon Sep 17 00:00:00 2001 From: MassiveAtoms Date: Sat, 18 Apr 2020 11:42:53 -0300 Subject: [PATCH] tele --- .drone.yml | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 0c42a3b..1e3bf08 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,11 +13,25 @@ steps: - cmake -G "Ninja" -D CMAKE_C_COMPILER=clang -D CMAKE_CXX_COMPILER=clang++ .. - cmake .. - ninja - - ./testbin - + - ./testbin > message.txt + + +- name: send telegram notification + image: appleboy/drone-telegram + settings: + token: 1008627097:AAGJdFwxwV5eUNWHuI9LnO-_oRCNUirLTx0 + to: -1001226107365 + message: > + {{#success build.status}} + build {{build.number}} succeeded. Good job. + {{else}} + build {{build.number}} failed. Fix me please. + {{/success}} ++ message_file: message.txt + trigger: branch: - master event: - - push \ No newline at end of file + - push