Skip to content

Commit 4e4492c

Browse files
committed
added workflow
1 parent fd8da47 commit 4e4492c

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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://example.com/avatar.png"
18+
content: "||@everyone||"
19+
footer_title: "Release Notification"
20+
footer_icon_url: "https://example.com/footer-icon.png"
21+
footer_timestamp: true
22+
max_description: '4096'
23+
reduce_headings: true

0 commit comments

Comments
 (0)