Archived
0
0
Fork 0

ci: added discord webhook

This commit is contained in:
Daryl Ronningen 2021-08-07 16:42:56 -07:00
parent 16c2c21fad
commit bb44325c27
Signed by: Daryl Ronningen
GPG key ID: FD23F0C934A5EC6B

View file

@ -52,3 +52,17 @@ steps:
- stable - stable
event: event:
- push - 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}}