diff --git a/.woodpecker/z.failed-ntfy.yml b/.woodpecker/z.failed-ntfy.yml deleted file mode 100644 index 5d8fda6..0000000 --- a/.woodpecker/z.failed-ntfy.yml +++ /dev/null @@ -1,19 +0,0 @@ -skip_clone: true - -steps: - 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,no_entry,${CI_BUILD_EVENT},${CI_REPO_NAME} - message: > - 📝 Commit by ${CI_COMMIT_AUTHOR} on ${CI_COMMIT_BRANCH}: - - ${CI_COMMIT_MESSAGE} -depends_on: - - lint - - test -runs_on: [ failure ] diff --git a/.woodpecker/z.ntfy.yml b/.woodpecker/z.ntfy.yml index fb780a0..735ffb5 100644 --- a/.woodpecker/z.ntfy.yml +++ b/.woodpecker/z.ntfy.yml @@ -1,19 +1,17 @@ skip_clone: true steps: - ntfy-success: + ntfy: image: codeberg.org/l-x/woodpecker-ntfy settings: url: https://ntfy.cybercinch.nz/ci-status - title: Build succeeded on ${CI_REPO_NAME} + title: Build ${CI_PIPELINE_STATUS} 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: > 📝 Commit by ${CI_COMMIT_AUTHOR} on ${CI_COMMIT_BRANCH}: - - ${CI_COMMIT_MESSAGE} + ${CI_COMMIT_MESSAGE} depends_on: - lint - test -runs_on: [ success ]