You've already forked ansible-role-auth-duo
33 lines
1.0 KiB
YAML
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_PIPELINE_STATUS == "pending" || CI_PIPELINE_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_PIPELINE_STATUS == "failure"'
|
|
depends_on:
|
|
- lint
|
|
- test
|
|
runs_on: [ success, failure ]
|
|
|