diff --git a/.github/workflows/build-stability.yml b/.github/workflows/build-stability.yml index 4494fd3c..e3a6fd91 100644 --- a/.github/workflows/build-stability.yml +++ b/.github/workflows/build-stability.yml @@ -54,4 +54,11 @@ jobs: cd app/rev3 make clean make - - run: echo "🍏 This job's status is ${{ job.status }}." \ No newline at end of file + - run: echo "🍏 This job's status is ${{ job.status }}." + + - name: Notify Discord on Failure + uses: nebularg/actions-discord-webhook@v1 + if: failure() && github.ref_name == 'main' + with: + webhook_url: ${{ secrets.DISCORD_BUILD_ALERT_WEBHOOK }} + status: ${{ job.status }} \ No newline at end of file