mirror of
https://github.com/LemmyNet/joinlemmy-site.git
synced 2024-11-25 22:01:17 +00:00
Adding ntfy notifies.
This commit is contained in:
parent
43139a70aa
commit
8121422f2d
1 changed files with 18 additions and 0 deletions
18
.drone.yml
18
.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/*
|
||||
|
|
Loading…
Reference in a new issue