From e0fa7cb0f68fbd9a433b14d7360aa3ff74c219e4 Mon Sep 17 00:00:00 2001 From: Aleksandr Soloshenko Date: Mon, 30 Dec 2024 20:25:43 +0700 Subject: [PATCH] [ci] fix repository URL in Discord notification --- .github/workflows/discord-release-notify.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/discord-release-notify.yml b/.github/workflows/discord-release-notify.yml index 3bacff2..7e37021 100644 --- a/.github/workflows/discord-release-notify.yml +++ b/.github/workflows/discord-release-notify.yml @@ -10,13 +10,13 @@ jobs: if: github.event.release.prerelease == false steps: - name: Send Discord Notification - env: - DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} - uses: Ilshidur/action-discord@0c4b27844ba47cb1c7bee539c8eead5284ce9fa9 + uses: tsickert/discord-webhook@v6.0.0 with: - args: | - 🎉 New Release of [${{ github.event.repository.name }}](${{ github.event.repository.homepageUrl }}): **${{ github.event.release.name }}** + webhook-url: ${{ secrets.DISCORD_WEBHOOK }} + content: | + 🎉 New Release of [${{ github.event.repository.name }}](${{ github.event.repository.html_url }}): **${{ github.event.release.name }}** ${{ github.event.release.body }} 📦 Download: ${{ github.event.release.html_url }} + flags: 4 # 4 = SUPPRESS_EMBEDS