From aa3ef9729bcd1d328d59c1b5bbf99d3134c169e9 Mon Sep 17 00:00:00 2001 From: Kas-tle <26531652+Kas-tle@users.noreply.github.com> Date: Mon, 27 May 2024 01:11:38 -0700 Subject: [PATCH] Webhook on success & failure --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 36de5044a6c..f2f2a2c827a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -172,7 +172,7 @@ jobs: run: ./gradlew neoforge:modrinth - name: Notify Discord - if: ${{ github.repository == 'GeyserMC/Geyser' }} + if: ${{ (success() || failure()) && github.repository == 'GeyserMC/Geyser' }} uses: GeyserMC/actions/notify-discord@master with: discordWebhook: ${{ secrets.DISCORD_WEBHOOK }}