diff --git a/.drone.yml b/.drone.yml index d956e11..467a344 100644 --- a/.drone.yml +++ b/.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