tele
This commit is contained in:
parent
2a38fc4a1c
commit
76c3003387
20
.drone.yml
20
.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
|
||||
- push
|
||||
|
Loading…
Reference in New Issue
Block a user