ci: add failure notification

pull/7/head
bretello 2024-01-08 10:36:55 +01:00
parent 471fc948a8
commit 3955481e32
Signed by: brethil
GPG Key ID: 876AAC6290170FE7
1 changed files with 9 additions and 0 deletions

View File

@ -29,3 +29,12 @@ jobs:
with:
push: true
tags: registry.decapod.one/brethil/dotfiles:latest
- name: Notify on failure
if: failure()
run: python -m venv .
pip install https://git.decapod.one/brethil/bretellofier
./bin/bretellofier "[brethil/dotfiles] 💥 Build failed"
env:
BRETELLOFIER_RECIPIENTS: ${{ secrets.BRETELLOFIER_RECIPIENTS }}
BRETELLOFIER_TOKEN: ${{ secrets.BRETELLOFIER_TOKEN}}