Add notification for failure condition
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
cf0fd3f378
commit
e04905de61
18
.drone.yml
18
.drone.yml
@ -26,3 +26,21 @@ steps:
|
|||||||
MESSAGE: Site build done!
|
MESSAGE: Site build done!
|
||||||
CLICK: https://drone.clortox.com/tyler/site
|
CLICK: https://drone.clortox.com/tyler/site
|
||||||
TITLE: Drone build
|
TITLE: Drone build
|
||||||
|
when:
|
||||||
|
status:
|
||||||
|
- sucess
|
||||||
|
- name: notify
|
||||||
|
image: clortox/drone-ntfy
|
||||||
|
settings:
|
||||||
|
URL: https://ntfy.clortox.com
|
||||||
|
USERNAME: drone
|
||||||
|
PASSWORD:
|
||||||
|
from_secret: ntfy_password
|
||||||
|
TOPIC: drone-builds
|
||||||
|
TAG: warning
|
||||||
|
MESSAGE: Site build has failed!
|
||||||
|
CLICK: https://drone.clortox.com/tyler/site
|
||||||
|
TITLE: Drone build
|
||||||
|
when:
|
||||||
|
status:
|
||||||
|
- failure
|
||||||
|
Reference in New Issue
Block a user