mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-11-24 04:21:31 +01:00
ci: cleanup, add notify-on-failure
This commit is contained in:
parent
2805f13208
commit
94eb4cded8
|
@ -10,11 +10,19 @@ steps:
|
|||
repo: registry.decapod.one/brethil/dotfiles
|
||||
registry: registry.decapod.one
|
||||
auto_tag: true
|
||||
dry_run: true
|
||||
# output: type=oci,dest=${CI_REPO_OWNER}-hello.tar
|
||||
|
||||
notify:
|
||||
image: registry.decapod.one/toolchain:latest
|
||||
secrets: [bretellofier_token, bretellofier_recipients]
|
||||
commands:
|
||||
- echo "[drone] Succesfully built brethil/dotfiles" | bretellofier
|
||||
- bretellofier "[woodpecker] ✅ Succesfully built ${CI_REPO}"
|
||||
when:
|
||||
- status: [success]
|
||||
|
||||
notify-on-failure:
|
||||
image: registry.decapod.one/toolchain
|
||||
secrets: [bretellofier_token, bretellofier_recipients]
|
||||
when:
|
||||
- status: [failure]
|
||||
commands:
|
||||
- bretellofier "[woodpecker] 💥 $CI_REPO CI failed"
|
||||
|
|
Loading…
Reference in New Issue
Block a user