Skip to content

Commit 0804d3d

Browse files
authored
Finish GitHub notifier.
1 parent a228099 commit 0804d3d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/gradle.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ jobs:
3030
with:
3131
webhookUrl: ${{ secrets.DISCORD_WEBHOOK }}
3232
severity: info
33-
username: New release
33+
avatarUrl: 'https://raw.githubusercontent.com/botblock/JavaBotBlockAPI/master/src/main/resources/jbba.png'
34+
username: New release (${{ github.event.release.tag_name }})
35+
text: ${{ github.event.release.name }}
3436
description: '**Release Information**'
35-
details: ''
37+
details: '${{ github.event.release.body }}'

0 commit comments

Comments
 (0)