homeserver/.woodpecker/notify.yml

29 lines
604 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:
- |
s-nail -s "CI: [$CI_PIPELINE_STATUS] $CI_REPO ($CI_COMMIT_BRANCH" \
-S smtp=server:docker10.mgrote.net:1025 \
-S from=ci@mgrote.net info@mgrote.net <<EOF
$CI_REPO
$CI_COMMIT_SHA
$CI_PIPELINE_URL
$CI_STEP_STATUS
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 ]
2024-01-24 21:36:19 +01:00
# mail als extra file das immer getriggert wird
# nutze allzweckcontainer mit mailx