homeserver/.woodpecker/notify.yml

31 lines
657 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 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 ]