From 0c79d27046843c88ccdfbecfe005a888f659c121 Mon Sep 17 00:00:00 2001 From: V13Axel Date: Tue, 2 Jul 2024 17:50:14 -0400 Subject: [PATCH] Auto-post to discord for new updates --- .github/workflows/main.yml | 8 ++++++++ 1 file changed, 8 insertions(+) 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}}"