From fa540a9a9512ab00f045506c3d24fb8351d80eb6 Mon Sep 17 00:00:00 2001 From: franukis Date: Wed, 4 Mar 2026 10:14:40 +0100 Subject: [PATCH] Add Discord release notification workflow --- .github/workflows/discord-release.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/discord-release.yml diff --git a/.github/workflows/discord-release.yml b/.github/workflows/discord-release.yml new file mode 100644 index 0000000..e463975 --- /dev/null +++ b/.github/workflows/discord-release.yml @@ -0,0 +1,18 @@ +name: Discord Release Notification + +on: + release: + types: [published] + +jobs: + notify: + runs-on: ubuntu-latest + steps: + - name: Send release to Discord + run: | + curl -H "Content-Type: application/json" \ + -X POST \ + -d '{ + "content": "🚀 **New Release Published!**\n\n**${{ github.event.release.name }}**\n${{ github.event.release.html_url }}" + }' \ + ${{ secrets.DISCORD_WEBHOOK }}