Skip to content

Commit 4c1a344

Browse files
authored
Add GitHub release notifications to Discord
task: added workflow to push release notes to discord
1 parent 973b4b1 commit 4c1a344

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
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@v3
11+
- name: GitHub Releases to Discord
12+
uses: SethCohen/github-releases-to-discord@v1
13+
with:
14+
webhook_url: ${{ secrets.WEBHOOK_URL }}
15+
color: "2105893"
16+
username: "Release Changelog"
17+
avatar_url: "https://cdn.discordapp.com/avatars/487431320314576937/bd64361e4ba6313d561d54e78c9e7171.png"
18+
content: "||@everyone||"
19+
footer_title: "Changelog"
20+
reduce_headings: true

0 commit comments

Comments
 (0)