tele
This commit is contained in:
parent
e822f0977f
commit
eeb741d6a2
10
.drone.yml
10
.drone.yml
@ -5,6 +5,9 @@ name: default
|
|||||||
steps:
|
steps:
|
||||||
- name: test
|
- name: test
|
||||||
image: archlinux
|
image: archlinux
|
||||||
|
volumes:
|
||||||
|
- name: sharing
|
||||||
|
path: /sharing
|
||||||
commands:
|
commands:
|
||||||
- pacman -Sy --noconfirm
|
- pacman -Sy --noconfirm
|
||||||
- pacman -S cmake make ninja libffi clang --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 -G "Ninja" -D CMAKE_C_COMPILER=clang -D CMAKE_CXX_COMPILER=clang++ ..
|
||||||
- cmake ..
|
- cmake ..
|
||||||
- ninja
|
- ninja
|
||||||
- ./testbin > message_file.tpl
|
- ./testbin > /sharing/message.txt
|
||||||
|
|
||||||
|
|
||||||
- name: send telegram notification
|
- name: send telegram notification
|
||||||
image: appleboy/drone-telegram
|
image: appleboy/drone-telegram
|
||||||
|
volumes:
|
||||||
|
- name: sharing
|
||||||
|
path: /sharing
|
||||||
settings:
|
settings:
|
||||||
token: 1008627097:AAGJdFwxwV5eUNWHuI9LnO-_oRCNUirLTx0
|
token: 1008627097:AAGJdFwxwV5eUNWHuI9LnO-_oRCNUirLTx0
|
||||||
to: -1001226107365
|
to: -1001226107365
|
||||||
message:
|
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