Adding ntfy notifies. (#129)

This commit is contained in:
Dessalines 2023-02-12 08:38:54 -05:00 committed by GitHub
parent 43139a70aa
commit b0d9a2dda7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 18 additions and 0 deletions

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/*