Skip to content

Commit 0b1a7ef

Browse files
Create discord.yml
1 parent c43c89e commit 0b1a7ef

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/discord.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
on:
2+
release:
3+
types: [published]
4+
5+
jobs:
6+
github-releases-to-discord:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Checkout
10+
uses: actions/checkout@v4
11+
12+
- name: GitHub Releases to Discord
13+
uses: SethCohen/github-releases-to-discord@v1
14+
with:
15+
webhook_url: ${{ secrets.DISCORD_WEBHOOK_URL }}
16+
color: "2105893"
17+
username: "TARDIS GitHub"
18+
avatar_url: "https://cdn.discordapp.com/avatars/696058911916163142/6e478142a416b8490f39d08801eafb22.png"
19+
#content: "||@everyone||"
20+
#footer_title: "Changelog"
21+
#reduce_headings: true

0 commit comments

Comments
 (0)