Skip to content

Commit baf39a5

Browse files
committed
Add a CI publisher of releases into discord
1 parent 5f26bc4 commit baf39a5

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/publisher.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
3+
on: # yamllint disable-line rule:truthy
4+
release:
5+
types:
6+
- published
7+
8+
name: 📢 Broadcast release
9+
10+
jobs:
11+
notify-discord:
12+
runs-on: ubuntu-latest
13+
timeout-minutes: 4
14+
steps:
15+
- name: Check out the codebase
16+
uses: actions/checkout@v4
17+
18+
- name: Notify Discord about release
19+
uses: SethCohen/[email protected]
20+
with:
21+
webhook_url: ${{ secrets.DISCORD_WEBHOOK_URL }}
22+
color: '002ED2'
23+
username: 'Buggregator IDEA Plugin release'
24+
content: '||@here||'
25+
footer_title: '⭐⭐⭐⭐⭐'
26+
footer_timestamp: false

0 commit comments

Comments
 (0)