diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index e922130..29195da 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -29,3 +29,17 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: mvn -U -B test verify + + notify: + needs: [build] + if: failure() && github.ref == 'refs/heads/main' + uses: embabel/embabel-build/.github/workflows/discord-notify.yml@main + secrets: inherit + + notify-recovery: + needs: [build] + if: success() && github.ref == 'refs/heads/main' + uses: embabel/embabel-build/.github/workflows/notify-recovery.yml@main + with: + branch: main + secrets: inherit