mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-12-04 16:51:31 +01:00
ci: add failure notification
This commit is contained in:
parent
471fc948a8
commit
3955481e32
9
.github/workflows/build_image.yml
vendored
9
.github/workflows/build_image.yml
vendored
|
@ -29,3 +29,12 @@ jobs:
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
tags: registry.decapod.one/brethil/dotfiles:latest
|
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}}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user