From bbd73cdca63534d402aec4e329459def130008b4 Mon Sep 17 00:00:00 2001 From: Joe <104938042+lrljoe@users.noreply.github.com> Date: Fri, 13 Oct 2023 05:45:20 +0100 Subject: [PATCH] Add DiscordBot (#1413) --- .github/workflows/discord-releases.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/discord-releases.yml diff --git a/.github/workflows/discord-releases.yml b/.github/workflows/discord-releases.yml new file mode 100644 index 000000000..c75bedd41 --- /dev/null +++ b/.github/workflows/discord-releases.yml @@ -0,0 +1,21 @@ +on: + release: + types: [published] + +jobs: + github-releases-to-discord: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Package Releases + uses: SethCohen/github-releases-to-discord@v1.13.1 + with: + webhook_url: ${{ secrets.WEBHOOK_DISCORD_RELEASE_URL }} + color: "2105893" + username: "GitHub Release-Bot" + avatar_url: "https://cdn.discordapp.com/avatars/487431320314576937/bd64361e4ba6313d561d54e78c9e7171.png" + content: "||@everyone||" + footer_title: "Release ChangeLog" + footer_icon_url: "https://cdn.discordapp.com/avatars/487431320314576937/bd64361e4ba6313d561d54e78c9e7171.png" + footer_timestamp: true \ No newline at end of file