Try evaluation on prev pipeline status
Some checks failed
ci/woodpecker/push/lint Pipeline failed
ci/woodpecker/push/test unknown status
ci/woodpecker/push/z.ntfy Pipeline was successful

This commit is contained in:
2023-10-18 12:03:39 +13:00
parent 7a1cce2261
commit e136bba40f

View File

@@ -12,7 +12,7 @@ steps:
message: >
Test success when run by cron for ${CI_REPO_NAME}.
when:
status: [ success ]
evaluate: 'CI_PREV_PIPELINE_STATUS != "failure"'
ntfy-failed:
image: codeberg.org/l-x/woodpecker-ntfy
settings:
@@ -24,7 +24,7 @@ steps:
message: >
Test failed when run by cron for ${CI_REPO_NAME}.
when:
status: [ failure ]
evaluate: 'CI_PREV_PIPELINE_STATUS == "failure"'
depends_on:
- lint
- test