Skip to content

Commit 0c79d27

Browse files
committed
Auto-post to discord for new updates
1 parent c33bb34 commit 0c79d27

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,3 +106,11 @@ jobs:
106106
avatar_url: "https://beta.fantasy-calendar.com//resources/header_logo.png"
107107
title: "Deploy success"
108108
nodetail: true
109+
- name: Discord release notification
110+
if: "!github.event.release.prerelease"
111+
env:
112+
DISCORD_WEBHOOK: ${{ secrets.RELEASE_WEBHOOK }}
113+
DISCORD_USERNAME: ${{github.event.release.name}}
114+
uses: Ilshidur/action-discord@master
115+
with:
116+
args: "${{github.event.release.body}}"

0 commit comments

Comments
 (0)