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

27 lines
606 B
YAML

---
depends_on:
- gitleaks
- ansible-lint
runs_on:
- failure
skip_clone: true
steps:
- name: notify
image: registry.mgrote.net/allzweckcontainer:latest
commands:
- |
s-nail \
-s "CI: [$CI_PIPELINE_STATUS] $CI_REPO" \
-S mta=smtp://docker10.mgrote.net:1025 \
-S smtp-auth=none \
-S v15-compat \
-S from=ci@mgrote.net \
$CI_COMMIT_AUTHOR_EMAIL <<EOF
Repository: $CI_REPO
Commit: $CI_COMMIT_SHA
URL: $CI_PIPELINE_URL
URL-Git: $CI_PIPELINE_FORGE_URL
Status: $CI_PIPELINE_STATUS
EOF