ci: added discord webhook
This commit is contained in:
parent
16c2c21fad
commit
bb44325c27
1 changed files with 14 additions and 0 deletions
14
.drone.yml
14
.drone.yml
|
@ -52,3 +52,17 @@ steps:
|
|||
- stable
|
||||
event:
|
||||
- push
|
||||
|
||||
- name: discord-notification
|
||||
image: appleboy/drone-discord
|
||||
settings:
|
||||
webhook_id:
|
||||
from_secret: DISCORD_WEBHOOK_ID
|
||||
webhook_token:
|
||||
from_secret: DISCORD_WEBHOOK_TOKEN
|
||||
message: >
|
||||
{{#success build.status}}
|
||||
Build {{build.number}} succeeded.
|
||||
{{else}}
|
||||
Build {{build.number}} failed.
|
||||
{{/success}}
|
||||
|
|
Reference in a new issue