mirror of
https://github.com/LemmyNet/joinlemmy-site.git
synced 2024-11-24 05:11:16 +00:00
Adding ntfy notifies. (#129)
This commit is contained in:
parent
43139a70aa
commit
b0d9a2dda7
1 changed files with 18 additions and 0 deletions
18
.drone.yml
18
.drone.yml
|
@ -78,3 +78,21 @@ steps:
|
||||||
when:
|
when:
|
||||||
ref:
|
ref:
|
||||||
- refs/tags/*
|
- 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