Files
ansible-role-auth-duo/.woodpecker/z.ntfy.yml

32 lines
1010 B
YAML
Raw Normal View History

2023-10-18 11:41:30 +13:00
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:
2023-10-18 12:16:01 +13:00
evaluate: 'CI_PIPELINE_STATUS == "success"'
2023-10-18 11:41:30 +13:00
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:
2023-10-18 12:16:01 +13:00
evaluate: 'CI_PIPELINE_STATUS == "failure"'
2023-10-18 11:41:30 +13:00
depends_on:
- lint
- test
2023-10-18 11:43:27 +13:00
runs_on: [ success, failure ]