diff --git a/.github/workflows/release-discord.yml b/.github/workflows/release-discord.yml new file mode 100644 index 0000000..3b0659e --- /dev/null +++ b/.github/workflows/release-discord.yml @@ -0,0 +1,21 @@ +# SPDX-FileCopyrightText: 2026 Magirenko Technologies +# +# SPDX-License-Identifier: Apache-2.0 +name: Notify Discord on Release + +on: + release: + types: [published] + +jobs: + notify: + runs-on: ubuntu-latest + steps: + - name: Send Discord Notification + uses: tsickert/discord-webhook@v5.0.0 + with: + webhook-url: ${{ secrets.DISCORD_RELEASE_WEBHOOK }} + embed-title: "${{ github.event.release.name }}" + embed-description: "${{ github.event.release.body }}" + embed-url: "${{ github.event.release.html_url }}" + embed-color: #000000