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

29 lines
643 B
YAML

---
depends_on:
- gitleaks
- ansible-lint
skip_clone: true
steps:
notify:
name: notify
image: registry.mgrote.net/allzweckcontainer:latest
commands:
- |
s-nail \
-s "CI: [$CI_PREV_PIPELINE_STATUS] $CI_REPO ($CI_COMMIT_BRANCH)" \
-S mta=smtp://docker10.mgrote.net:1025 \
-S smtp-auth=none \
-S v15-compat \
-S from=ci@mgrote.net \
info@mgrote.net <<EOF
Repository: $CI_REPO
Commit: $CI_COMMIT_SHA
URL: $CI_PREV_PIPELINE_URL
Status: $CI_PREV_PIPELINE_STATUS
EOF
when:
event: [push]
runs_on: [ success, failure ]