[SKIP CI] Tweak notifications
Some checks failed
ci/woodpecker/cron/cron Pipeline was successful
ci/woodpecker/cron/z.failed-cron-ntfy unknown status
ci/woodpecker/cron/z.cron-ntfy Pipeline was successful

This commit is contained in:
2023-10-16 20:48:27 +13:00
parent 0742b5e03d
commit 25822c7037
2 changed files with 19 additions and 2 deletions

View File

@@ -8,9 +8,10 @@ steps:
title: notification title
priority: urgent
icon: https://woodpecker-ci.org/img/logo.svg
tags: robot,${CI_BUILD_EVENT},${CI_REPO_NAME}
tags: robot,heavy_check_mark,${CI_BUILD_EVENT},${CI_REPO_NAME}
message: >
Test success when run by cron for ${CI_REPO_NAME}.
depends_on:
- "cron"
runs_on: [ success ]
runs_on: [ success ]

View File

@@ -0,0 +1,16 @@
skip_clone: true
steps:
ntfy-failed:
image: codeberg.org/l-x/woodpecker-ntfy
settings:
url: https://ntfy.cybercinch.nz/ci-status
title: Build failed on ${CI_REPO_NAME}
priority: urgent
icon: https://woodpecker-ci.org/img/logo.svg
tags: robot,rotating_light,no_entry,${CI_BUILD_EVENT},${CI_REPO_NAME}
message: >
Test failed when run by cron for ${CI_REPO_NAME}.
depends_on:
- "cron"
runs_on: [ failure ]