tele
This commit is contained in:
parent
fd28d00db0
commit
cd6ea876e0
16
.drone.yml
16
.drone.yml
@ -2,8 +2,10 @@ kind: pipeline
|
|||||||
type: docker
|
type: docker
|
||||||
name: default
|
name: default
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: test
|
|
||||||
|
pipeline:
|
||||||
|
build:
|
||||||
image: archlinux
|
image: archlinux
|
||||||
commands:
|
commands:
|
||||||
- pacman -Sy --noconfirm
|
- pacman -Sy --noconfirm
|
||||||
@ -13,16 +15,14 @@ steps:
|
|||||||
- cmake -G "Ninja" -D CMAKE_C_COMPILER=clang -D CMAKE_CXX_COMPILER=clang++ ..
|
- cmake -G "Ninja" -D CMAKE_C_COMPILER=clang -D CMAKE_CXX_COMPILER=clang++ ..
|
||||||
- cmake ..
|
- cmake ..
|
||||||
- ninja
|
- ninja
|
||||||
- ./testbin > message.txt
|
- ./testbin > template.txt
|
||||||
|
- ./testbin
|
||||||
|
notify:
|
||||||
- name: send telegram notification
|
|
||||||
image: appleboy/drone-telegram
|
image: appleboy/drone-telegram
|
||||||
|
template: file:///drone/src/git.tau.aperturect.com/${DRONE_REPO_OWNER}/${DRONE_REPO_NAME}/template.txt
|
||||||
settings:
|
settings:
|
||||||
token: 1008627097:AAGJdFwxwV5eUNWHuI9LnO-_oRCNUirLTx0
|
token: 1008627097:AAGJdFwxwV5eUNWHuI9LnO-_oRCNUirLTx0
|
||||||
to: -1001226107365
|
to: -1001226107365
|
||||||
+ message_file: message.txt
|
|
||||||
|
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
|
Loading…
Reference in New Issue
Block a user