From 0ee09aefbb9c7b2e69b006dd9fbaca584c1997d6 Mon Sep 17 00:00:00 2001 From: Eli Bosley Date: Mon, 15 Sep 2025 13:00:08 -0400 Subject: [PATCH] chore: prettier webhooks --- .github/workflows/release-production.yml | 27 +++++++++++++++--------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release-production.yml b/.github/workflows/release-production.yml index 2d1466837..d5cc6d8e7 100644 --- a/.github/workflows/release-production.yml +++ b/.github/workflows/release-production.yml @@ -125,15 +125,22 @@ jobs: --content-encoding none \ --acl public-read - - name: Actions for Discord - uses: Ilshidur/action-discord@0.4.0 - env: - DISCORD_WEBHOOK: ${{ secrets.PUBLIC_DISCORD_RELEASE_ENDPOINT }} + - name: Discord Webhook Notification + uses: tsickert/discord-webhook@v7.0.0 with: - args: | - 🚀 **Unraid API Release ${{ inputs.version }}** - - View Release: https://github.com/${{ github.repository }}/releases/tag/${{ inputs.version }} - - **Changelog:** + webhook-url: ${{ secrets.PUBLIC_DISCORD_RELEASE_ENDPOINT }} + username: "Unraid API Bot" + avatar-url: "https://craftassets.unraid.net/uploads/logos/un-mark-gradient.png" + embed-title: "🚀 Unraid API ${{ inputs.version }} Released!" + embed-url: "https://github.com/${{ github.repository }}/releases/tag/${{ inputs.version }}" + embed-description: | + A new version of Unraid API has been released! + + **Version:** `${{ inputs.version }}` + **Release Page:** [View on GitHub](https://github.com/${{ github.repository }}/releases/tag/${{ inputs.version }}) + + **📋 Changelog:** ${{ steps.release-info.outputs.body }} + embed-color: 16734296 + embed-footer-text: "Unraid API • Automated Release" + embed-timestamp: true