From f356f64c3d598ebee6dc6a3bd77bc175d8b4378f Mon Sep 17 00:00:00 2001 From: Alexander Brandes Date: Sun, 9 Oct 2022 16:40:04 +0200 Subject: [PATCH] [ci skip] chore: Announce releases on discord (#1980) --- .../workflows/announce-release-on-discord.yml | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/announce-release-on-discord.yml diff --git a/.github/workflows/announce-release-on-discord.yml b/.github/workflows/announce-release-on-discord.yml new file mode 100644 index 000000000..0b84060a7 --- /dev/null +++ b/.github/workflows/announce-release-on-discord.yml @@ -0,0 +1,27 @@ +name: Announce release on discord +on: + release: + types: [published] + +jobs: + send_announcement: + runs-on: ubuntu-latest + steps: + - name: send custom message with args + env: + DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} + DISCORD_USERNAME: FastAsyncWorldEdit Release + DISCORD_AVATAR: https://raw.githubusercontent.com/IntellectualSites/Assets/main/plugins/FastAsyncWorldEdit/FastAsyncWorldEdit.png + uses: Ilshidur/action-discord@0.3.2 + with: + args: | + "<@&525015715300900875> <@&706463154804097105> <@&671372968462516240>" + "" + "<:fawe:730750370984493106> **FastAsyncWorldEdit ${{ github.event.release.tag_name }} has been released!**" + "" + "Click here to view changelog: https://github.com/IntellectualSites/FastAsyncWorldEdit/releases/tag/${{ github.event.release.tag_name }}" + "" + "The download is available at:" + "- Spigot: " + "- Modrinth: " + "- CurseForge: "