From a0c8c8ff786417bdf5fc39fb6f1fc7d2674e1f44 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 25 Jan 2026 01:53:19 +0000 Subject: [PATCH] Add Discord release notification step Co-authored-by: Valorith <76063792+Valorith@users.noreply.github.com> --- .github/workflows/release.yaml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 0ffba0dbe..5f28ce6ee 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -302,3 +302,36 @@ jobs: artifacts/eqemu-server-linux-x64.zip artifacts/eqemu-server-windows-x64.zip artifacts/SHA256SUMS.txt + - name: Notify Discord + env: + DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }} + TAG_NAME: ${{ github.ref_name }} + REPO: ${{ github.repository }} + run: | + if [ -z "$DISCORD_WEBHOOK_URL" ]; then + echo "DISCORD_WEBHOOK_URL is not set; skipping Discord notification." + exit 0 + fi + LINUX_URL="https://github.com/${REPO}/releases/download/${TAG_NAME}/eqemu-server-linux-x64.zip" + WINDOWS_URL="https://github.com/${REPO}/releases/download/${TAG_NAME}/eqemu-server-windows-x64.zip" + SHA_URL="https://github.com/${REPO}/releases/download/${TAG_NAME}/SHA256SUMS.txt" + payload=$(cat <