This commit is contained in:
MassiveAtoms 2020-04-18 11:55:15 -03:00
parent cd6ea876e0
commit 0c5e0f6d07

View File

@ -2,10 +2,8 @@ kind: pipeline
type: docker
name: default
pipeline:
build:
steps:
- name: test
image: archlinux
commands:
- pacman -Sy --noconfirm
@ -15,14 +13,18 @@ pipeline:
- cmake -G "Ninja" -D CMAKE_C_COMPILER=clang -D CMAKE_CXX_COMPILER=clang++ ..
- cmake ..
- ninja
- ./testbin > template.txt
- ./testbin
notify:
- ./testbin > message_file.tpl
- name: send telegram notification
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
message:
+ message_file: file:///drone/src/git.tau.aperturect.com/${DRONE_REPO_OWNER}/${DRONE_REPO_NAME}/message_file.tpl
trigger:
branch: