1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-12-03 16:21:32 +01:00

ci: add failure notification

This commit is contained in:
bretello 2024-01-08 10:36:55 +01:00
parent 471fc948a8
commit 3955481e32
Signed by: brethil
GPG Key ID: 876AAC6290170FE7

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}}