We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 960cda3 commit fe1820fCopy full SHA for fe1820f
1 file changed
.github/workflows/notification.yml
@@ -0,0 +1,20 @@
1
+# This is a basic workflow to help you get started with Actions
2
+
3
+name: Discord Notification
4
5
+on:
6
+ release:
7
+ types:
8
+ - published
9
10
+jobs:
11
+ notify:
12
+ runs-on: ubuntu-latest
13
14
+ steps:
15
+ - name: Discord notification
16
+ env:
17
+ DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
18
+ uses: Ilshidur/action-discord@master
19
+ with:
20
+ args: ":tada: **The {{ EVENT_PAYLOAD.repository.name }} {{ EVENT_PAYLOAD.release.tag_name }} has been released.**:tada:\nChangelog: {{EVENT_PAYLOAD.release.html_url}}"
0 commit comments