Files
ansible-role-auth-duo/.woodpecker/z.ntfy.yml
Aaron Guise b00cf14d6e
Some checks failed
ci/woodpecker/push/lint Pipeline failed
ci/woodpecker/push/test unknown status
ci/woodpecker/push/z.ntfy Pipeline was successful
Test break lint
2023-10-18 12:24:29 +13:00

33 lines
1.0 KiB
YAML

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:
evaluate: 'CI_BUILD_STATUS == "pending" || CI_BUILD_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:
evaluate: 'CI_BUILD_STATUS == "failure"'
depends_on:
- lint
- test
runs_on: [ success, failure ]