[SKIP CI] Update cron to notify on pipeline status
All checks were successful
ci/woodpecker/cron/cron Pipeline was successful

This commit is contained in:
2023-10-16 20:16:44 +13:00
parent 6be46a5701
commit 45ee1940f3

View File

@@ -45,8 +45,7 @@ steps:
message: >
Test failed run by cron for ${CI_REPO_NAME}.
when:
- event: [ cron ]
- status: [ failure ]
evaluate: 'CI_PIPELINE_EVENT == "cron" && CI_PIPELINE_STATUS == "failure"'
ntfy-success:
image: codeberg.org/l-x/woodpecker-ntfy
settings:
@@ -58,5 +57,4 @@ steps:
message: >
Test success when run by cron for ${CI_REPO_NAME}.
when:
- event: [ cron ]
- status: [ success ]
evaluate: 'CI_PIPELINE_EVENT == "cron" && CI_PIPELINE_STATUS == "success"'