tele
This commit is contained in:
parent
e822f0977f
commit
eeb741d6a2
10
.drone.yml
10
.drone.yml
@ -5,6 +5,9 @@ name: default
|
||||
steps:
|
||||
- name: test
|
||||
image: archlinux
|
||||
volumes:
|
||||
- name: sharing
|
||||
path: /sharing
|
||||
commands:
|
||||
- pacman -Sy --noconfirm
|
||||
- pacman -S cmake make ninja libffi clang --noconfirm
|
||||
@ -13,16 +16,19 @@ steps:
|
||||
- cmake -G "Ninja" -D CMAKE_C_COMPILER=clang -D CMAKE_CXX_COMPILER=clang++ ..
|
||||
- cmake ..
|
||||
- ninja
|
||||
- ./testbin > message_file.tpl
|
||||
- ./testbin > /sharing/message.txt
|
||||
|
||||
|
||||
- name: send telegram notification
|
||||
image: appleboy/drone-telegram
|
||||
volumes:
|
||||
- name: sharing
|
||||
path: /sharing
|
||||
settings:
|
||||
token: 1008627097:AAGJdFwxwV5eUNWHuI9LnO-_oRCNUirLTx0
|
||||
to: -1001226107365
|
||||
message:
|
||||
+ message_file: file:///${DRONE_REPO_OWNER}/${DRONE_REPO_NAME}/message_file.tpl
|
||||
+ message_file: /sharing/message.txt
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user