Skip to content

Commit 49d9df7

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

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/annouce-discord.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
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@master
13+
with:
14+
webhook_url: ${{ secrets.ANNOUNCE_WEBHOOK_URL }}
15+
color: '15299076'
16+
content: |
17+
||@everyone||
18+
'# Minecraft Essentails Website Update:'
19+
Now available at https://minecraft-essentials.github.io/
20+
footer_timestamp: true
21+
max_description: '4096'

0 commit comments

Comments
 (0)