added discord notifications to ci config
This commit is contained in:
parent
9f6bca705b
commit
28253c84d7
28
.drone.yml
28
.drone.yml
@ -8,3 +8,31 @@ steps:
|
||||
commands:
|
||||
- echo hello
|
||||
- echo world
|
||||
|
||||
- name: failure
|
||||
image: appleboy/discord
|
||||
settings:
|
||||
webhook_id:
|
||||
from_secret: discord_webhook_id
|
||||
webhook_token:
|
||||
from_secret: discord_webhook_token
|
||||
message: test failed
|
||||
username: drone
|
||||
avatar_url: https://drone.malachy.ie/favicon.png
|
||||
when:
|
||||
status:
|
||||
- failure
|
||||
|
||||
- name: success
|
||||
image: appleboy/drone-discord
|
||||
settings:
|
||||
webhook_id:
|
||||
from_secret: discord_webhook_id
|
||||
webhook_token:
|
||||
from_secret: discord_webhook_token
|
||||
message: test succeeded
|
||||
username: drone
|
||||
avatar_url: https://drone.malachy.ie/favicon.png
|
||||
when:
|
||||
status:
|
||||
- success
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user