1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-09-28 06:19:54 +02:00

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>
This commit is contained in:
Bo-Yi Wu 2017-06-14 21:47:42 -05:00 committed by Lunny Xiao
parent 57cabb3ad3
commit 5b0cbf3788
3 changed files with 13 additions and 4 deletions

View File

@ -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:

File diff suppressed because one or more lines are too long

View File

@ -15,10 +15,14 @@ indent_size = 8
indent_style = tab
indent_size = 4
[*.{less,yml}]
[*.{less}]
indent_style = space
indent_size = 4
[*.{yml}]
indent_style = space
indent_size = 2
[*.js]
indent_style = space
indent_size = 4