Webhook on success & failure

This commit is contained in:
Kas-tle 2024-05-27 01:11:38 -07:00 committed by GitHub
parent 2a11f71f63
commit aa3ef9729b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 }}