Add notification for failure condition
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Tyler Perkins 2022-12-17 20:53:05 -05:00
parent cf0fd3f378
commit e04905de61

View File

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