homeserver/.woodpecker/notify.yml

32 lines
738 B
YAML
Raw Normal View History

2024-01-24 20:53:56 +01:00
---
depends_on:
- gitleaks
- ansible-lint
2024-01-24 21:00:17 +01:00
skip_clone: true
2024-01-24 20:53:56 +01:00
steps:
notify:
name: notify
image: deblan/woodpecker-email
settings:
dsn: "smtp://docker10.mgrote.net:1025"
from:
address: "ci@mgrote.net"
name: "woodpecker"
recipients:
- info@mgrote.net
2024-01-24 21:17:43 +01:00
recipients_only: "false"
2024-01-24 21:14:19 +01:00
evaluate: "build.status == 'failure' or prev_pipeline.status == 'failure'"
2024-01-24 20:53:56 +01:00
content:
2024-01-24 21:16:22 +01:00
subject: "CI: [{{ prev_pipeline.status }}] {{ repo.full_name }} ({{ commit.branch }}"
2024-01-24 20:53:56 +01:00
body: |
{{ repo.full_name }}<br>
{{ commit.sha }}<br>
{{ pipeline.url }}<br>
{{ step.status }}<br>
2024-01-24 21:03:18 +01:00
when:
event: [push]
2024-01-24 20:53:56 +01:00
2024-01-24 21:09:05 +01:00
runs_on: [ success, failure ]