This commit is contained in:
Michael Grote 2024-01-24 20:53:56 +01:00
parent 96d8958bf1
commit 6187a3b3a7
1 changed files with 25 additions and 0 deletions

25
.woodpecker/notify.yml Normal file
View File

@ -0,0 +1,25 @@
---
depends_on:
- gitleaks
- ansible-lint
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: "[{{ pipeline.status }}] {{ repo.full_name }} ({{ commit.branch }}"
body: |
{{ repo.full_name }}<br>
{{ commit.sha }}<br>
{{ pipeline.url }}<br>
{{ step.status }}<br>
runs_on: [ failure ]