homeserver/.woodpecker/notify.yml

30 lines
624 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
2024-01-24 21:36:19 +01:00
image: registry.mgrote.net/allzweckcontainer:latest
commands:
- |
2024-01-24 21:47:16 +01:00
s-nail \
-s "CI: [$CI_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_PIPELINE_URL
Status: $CI_STEP_STATUS
2024-01-24 21:36:19 +01:00
EOF
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 ]