summaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/notify-discord.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.github/workflows/notify-discord.yml b/.github/workflows/notify-discord.yml
new file mode 100644
index 000000000..46e637521
--- /dev/null
+++ b/.github/workflows/notify-discord.yml
@@ -0,0 +1,14 @@
+name: Notify Discord on Release
+
+on:
+ release:
+ types: [published] # fires only when a release is published
+
+jobs:
+ notify:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Send nicely-formatted embed to Discord
+ uses: SethCohen/github-releases-to-discord@v1
+ with:
+ webhook-url: ${{ secrets.DISCORD_WEBHOOK }}