Files
ansible-role-auth-duo/.woodpecker/z.ntfy.yml
Aaron Guise f30a631f66
Some checks failed
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/test Pipeline failed
ci/woodpecker/push/z.ntfy Pipeline was successful
Success/failure testing ...
2023-10-18 12:08:55 +13:00

32 lines
1020 B
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_PREV_PIPELINE_STATUS != "failure"'
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_PREV_PIPELINE_STATUS == "failure"'
depends_on:
- lint
- test
runs_on: [ success, failure ]