homeserver/.woodpecker/notify.yml
2024-01-25 19:39:39 +01:00

29 lines
621 B
YAML

---
depends_on:
- gitleaks
- ansible-lint
skip_clone: true
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
content:
subject: "CI: [{{ pipeline.status }}] {{ repo.full_name }} ({{ commit.branch }}"
body: |
{{ repo.full_name }}<br>
{{ commit.sha }}<br>
{{ pipeline.url }}<br>
{{ step.status }}<br>
when:
event: [push]
runs_on: [ success, failure ]