diff --git a/.github/workflows/build_image.yml b/.github/workflows/build_image.yml index 52d88ab..90ed30e 100644 --- a/.github/workflows/build_image.yml +++ b/.github/workflows/build_image.yml @@ -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}}