Skip to content

Commit dc4a2d8

Browse files
authored
Add Discord notification
[skip ci]
1 parent a1cd8c4 commit dc4a2d8

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/gradle.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,15 @@ jobs:
2121
bintrayApiKey: ${{ secrets.bintrayApiKey }}
2222
BUILD_NUMBER: 0 # Releases are always major.minor.revision_0
2323
run: ./gradlew bintrayUpload
24+
sendMessage:
25+
if: success()
26+
runs-on: ubuntu-latest
27+
steps:
28+
- name: Discord notification
29+
uses: rjstone/discord-webhook-notify@v1.0.2
30+
with:
31+
webhookUrl: ${{ secrets.DISCORD_WEBHOOK }}
32+
severity: info
33+
username: New release
34+
description: '**Release Information**'
35+
details: ''

0 commit comments

Comments
 (0)