From c16ee01a93441de091b0b7937d8bd987e6253b48 Mon Sep 17 00:00:00 2001 From: Aaron Guise Date: Wed, 18 Oct 2023 12:44:24 +1300 Subject: [PATCH] Add notifier --- .woodpecker/test.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.woodpecker/test.yml b/.woodpecker/test.yml index 1de0f43..2a17bfd 100644 --- a/.woodpecker/test.yml +++ b/.woodpecker/test.yml @@ -29,5 +29,19 @@ steps: event: - push - manual + ntfy: + image: codeberg.org/l-x/woodpecker-ntfy + settings: + url: https://ntfy.cybercinch.nz/ci-status + title: "Test failed for ${CI_REPO_NAME} - Distro: ${MOLECULE_DISTRO} Scenario: ${MOLECULE_SCENARIO:-default}" + priority: urgent + icon: https://woodpecker-ci.org/img/logo.svg + tags: robot,warning,rotating_light,${CI_BUILD_EVENT},${CI_REPO_NAME} + message: > + 📝 Commit by ${CI_COMMIT_AUTHOR} on ${CI_COMMIT_BRANCH}: + ${CI_COMMIT_MESSAGE} + when: + event: [ push, manual ] + status: [ failure ] depends_on: - lint