From cbf5df210f125957a523a001074eb1e0705056d2 Mon Sep 17 00:00:00 2001 From: ymc9 <104139426+ymc9@users.noreply.github.com> Date: Wed, 30 Jul 2025 16:53:20 +0800 Subject: [PATCH] chore: add release to discord workflow --- .github/workflows/github-releases-to-discord.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/github-releases-to-discord.yml diff --git a/.github/workflows/github-releases-to-discord.yml b/.github/workflows/github-releases-to-discord.yml new file mode 100644 index 00000000..0bb79bb3 --- /dev/null +++ b/.github/workflows/github-releases-to-discord.yml @@ -0,0 +1,14 @@ +on: + release: + types: [published] +jobs: + github-releases-to-discord: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Github Releases To Discord + uses: SethCohen/github-releases-to-discord@v1.13.1 + with: + webhook_url: ${{ secrets.RELEASE_TO_DISCORD_WEBHOOK_URL }} + avatar_url: 'https://cdn.discordapp.com/avatars/1297059323314176051/df91181b3f1cf0ef1592fbe18e0962d7.webp?size=160'