Skip to content

Commit

Permalink
Auto-post to discord for new updates
Browse files Browse the repository at this point in the history
  • Loading branch information
V13Axel committed Jul 2, 2024
1 parent c33bb34 commit 0c79d27
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,11 @@ jobs:
avatar_url: "https://beta.fantasy-calendar.com//resources/header_logo.png"
title: "Deploy success"
nodetail: true
- name: Discord release notification
if: "!github.event.release.prerelease"
env:
DISCORD_WEBHOOK: ${{ secrets.RELEASE_WEBHOOK }}
DISCORD_USERNAME: ${{github.event.release.name}}
uses: Ilshidur/action-discord@master
with:
args: "${{github.event.release.body}}"

0 comments on commit 0c79d27

Please sign in to comment.