Skip to content

Commit d7ca149

Browse files
committed
Send a discord notification to notify that a new release is being built
1 parent eae9130 commit d7ca149

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v3
13+
- name: Discord notification
14+
uses: Ilshidur/action-discord@master
15+
env:
16+
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
17+
DISCORD_USERNAME: GitHub
18+
DISCORD_AVATAR: https://cdn.discordapp.com/avatars/815532493087178803/df91181b3f1cf0ef1592fbe18e0962d7.webp?size=128
19+
with:
20+
args: 'A new release ({{ env.TAG }}) is being built.'
1321
- name: Set up JDK 17
1422
uses: actions/setup-java@v1
1523
with:

0 commit comments

Comments
 (0)