Skip to content

Commit 2eb6520

Browse files
committed
feat: hook up discord webhook for annoucing to discord
This is for new updates
1 parent 664b950 commit 2eb6520

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/annouce-discord.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
on:
2+
release:
3+
types: [published]
4+
5+
jobs:
6+
annouce-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.ANNOUNCE_WEBHOOK_URL }}
15+
color: '15299076'
16+
content: |
17+
||@everyone|| Website Update:
18+
Avalible at https://minecraft-essentials.github.io/
19+
footer_timestamp: true
20+
max_description: '4096'

0 commit comments

Comments
 (0)