Add Discord release notification workflow

This commit is contained in:
franukis
2026-03-04 10:14:40 +01:00
committed by GitHub
parent aa6607eb75
commit fa540a9a95
+18
View File
@@ -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 }}