diff --git a/.drone.yml b/.drone.yml index 07c5160..73cb3bb 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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/*