From 94f9bc74f0167e2f249628fad15ecc9d69b84d44 Mon Sep 17 00:00:00 2001 From: Ryan Hullah Date: Thu, 7 Dec 2023 11:04:06 -0500 Subject: [PATCH] Cleanup discord release message (#2532) --- .github/workflows/discord.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/discord.yml b/.github/workflows/discord.yml index 3b7ea295..d93a9886 100644 --- a/.github/workflows/discord.yml +++ b/.github/workflows/discord.yml @@ -19,12 +19,9 @@ jobs: steps: - name: on-publish if: github.event_name == 'release' && github.event.action == 'published' - uses: Ilshidur/action-discord@master + uses: SethCohen/github-releases-to-discord@v1.13.1 with: - args: | - Github repo: [${{ github.repository }}](<${{ github.event.repository.html_url}}>) - Release: [${{ github.event.release.name }}](<${{ github.event.release.html_url }}>) - ${{ github.event.release.body }} + webhook_url: ${{ secrets.DISCORD_WEBHOOK }} - name: on-success if: github.event.workflow_run.conclusion == 'success' uses: Ilshidur/action-discord@master