From a6307ceeaa7cff7108860b5936af8ced2a3c3581 Mon Sep 17 00:00:00 2001 From: Aaron Guise Date: Wed, 18 Oct 2023 11:41:30 +1300 Subject: [PATCH] Update pipeline --- .woodpecker/ntfy.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .woodpecker/ntfy.yml diff --git a/.woodpecker/ntfy.yml b/.woodpecker/ntfy.yml new file mode 100644 index 0000000..e426921 --- /dev/null +++ b/.woodpecker/ntfy.yml @@ -0,0 +1,32 @@ +skip_clone: true + +steps: + ntfy-success: + image: codeberg.org/l-x/woodpecker-ntfy + settings: + url: https://ntfy.cybercinch.nz/ci-status + title: Build succeeded on ${CI_REPO_NAME} + priority: urgent + icon: https://woodpecker-ci.org/img/logo.svg + tags: robot,white_check_mark,${CI_BUILD_EVENT},${CI_REPO_NAME} + message: > + Test success when run by cron for ${CI_REPO_NAME}. + when: + status: [ success ] + 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,${CI_BUILD_EVENT},${CI_REPO_NAME} + message: > + Test failed when run by cron for ${CI_REPO_NAME}. + when: + status: [ success ] +depends_on: + - lint + - test +runs_on: [ success ] +