Skip to content

Commit 84844ea

Browse files
committed
Add discord release notification
1 parent 210ed78 commit 84844ea

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Announce Release to Discord
2+
3+
on:
4+
release:
5+
types: [published] # triggers when you publish a release (not draft)
6+
7+
jobs:
8+
notify-discord:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Send release to Discord
12+
uses: some-action/github-releases-to-discord@v1 # check exact latest version
13+
with:
14+
webhook_url: ${{ secrets.DISCORD_WEBHOOK_URL }}
15+
# optional customizations below - most have good defaults
16+
username: "akarnokd"
17+
# avatar_url: "https://github.com/your-org/your-repo.png" # optional
18+
embed_color: 3447003 # hex color without # (e.g. Discord blue)
19+
include_assets: true # list download links if you have binaries

0 commit comments

Comments
 (0)