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