diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7b9a5736..553e50eb 100755 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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}}"