From e136bba40f5e5c6674d823c91f52966c580edddf Mon Sep 17 00:00:00 2001 From: Aaron Guise Date: Wed, 18 Oct 2023 12:03:39 +1300 Subject: [PATCH] Try evaluation on prev pipeline status --- .woodpecker/z.ntfy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.woodpecker/z.ntfy.yml b/.woodpecker/z.ntfy.yml index ba74a9e..a4bbb10 100644 --- a/.woodpecker/z.ntfy.yml +++ b/.woodpecker/z.ntfy.yml @@ -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