[SKIP CI] update cron definition
All checks were successful
ci/woodpecker/cron/cron Pipeline was successful

This commit is contained in:
2023-10-16 16:34:42 +13:00
parent 776f155664
commit 6be46a5701

View File

@@ -34,3 +34,29 @@ steps:
auth_duo_mirror_url ]
when:
event: [ cron ]
ntfy-failed:
image: codeberg.org/l-x/woodpecker-ntfy
settings:
url: https://ntfy.cybercinch.nz/ci-status
title: notification title
priority: urgent
icon: https://woodpecker-ci.org/img/logo.svg
tags: robot,${CI_BUILD_EVENT},${CI_REPO_NAME}
message: >
Test failed run by cron for ${CI_REPO_NAME}.
when:
- event: [ cron ]
- status: [ failure ]
ntfy-success:
image: codeberg.org/l-x/woodpecker-ntfy
settings:
url: https://ntfy.cybercinch.nz/ci-status
title: notification title
priority: urgent
icon: https://woodpecker-ci.org/img/logo.svg
tags: robot,${CI_BUILD_EVENT},${CI_REPO_NAME}
message: >
Test success when run by cron for ${CI_REPO_NAME}.
when:
- event: [ cron ]
- status: [ success ]