Adding ntfy notifies.

This commit is contained in:
Dessalines 2023-02-11 13:38:47 -05:00
parent 43139a70aa
commit 8121422f2d

View file

@ -78,3 +78,21 @@ steps:
when:
ref:
- refs/tags/*
- name: Notify on failure
image: alpine:3
commands:
- apk add curl
- "curl -d'joinlemmy-site build failed: ${DRONE_BUILD_LINK}' ntfy.sh/lemmy_drone_ci"
when:
status:
- failure
- name: Notify on tag deploy
image: alpine:3
commands:
- apk add curl
- "curl -d'joinlemmy-site:${DRONE_TAG} deployed' ntfy.sh/lemmy_drone_ci"
when:
ref:
- refs/tags/*