summaryrefslogtreecommitdiffstats
path: root/.drone.yml
diff options
context:
space:
mode:
authorBo-Yi Wu <appleboy.tw@gmail.com>2017-06-14 21:47:42 -0500
committerLunny Xiao <xiaolunwen@gmail.com>2017-06-15 10:47:42 +0800
commit5b0cbf378891b82084b2cbb0e58ea628880f8c95 (patch)
treebf21b096be515e41e5bef093fef80b30c645e3d7 /.drone.yml
parent57cabb3ad3d296c2f65c157348cdf3b32e17e8c4 (diff)
downloadgitea-5b0cbf378891b82084b2cbb0e58ea628880f8c95.tar.gz
gitea-5b0cbf378891b82084b2cbb0e58ea628880f8c95.zip
switch gitter to discord for drone. (#1971)
* switch gitter to discord for drone. Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com> * add event Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com> * only notify build fail message. Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml9
1 files changed, 7 insertions, 2 deletions
diff --git a/.drone.yml b/.drone.yml
index fc41ff9eb3..4c4fadc97b 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -164,8 +164,13 @@ pipeline:
event: [ tag ]
branch: [ refs/tags/* ]
- gitter:
- image: plugins/gitter
+ discord:
+ image: appleboy/drone-discord
+ webhook_id: ${WEBHOOK_ID}
+ webhook_token: ${WEBHOOK_TOKEN}
+ when:
+ event: [ push, tag, pull_request ]
+ status: [ failure ]
services:
mysql: