From d526746b08b85923635bd98e0aaee2261ea46f9b Mon Sep 17 00:00:00 2001 From: Vasilije <8619304+Vasilije1990@users.noreply.github.com> Date: Thu, 25 Apr 2024 13:00:40 +0200 Subject: [PATCH] Create release_discord_action.yml --- .github/workflows/release_discord_action.yml | 23 ++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/release_discord_action.yml diff --git a/.github/workflows/release_discord_action.yml b/.github/workflows/release_discord_action.yml new file mode 100644 index 000000000..faedf42ca --- /dev/null +++ b/.github/workflows/release_discord_action.yml @@ -0,0 +1,23 @@ +name: Send Release to Discord + +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.15.0 + with: + webhook_url: ${{ secrets.WEBHOOK_URL }} + color: "2105893" + username: "Release Changelog" + avatar_url: "https://cdn.discordapp.com/avatars/487431320314576937/bd64361e4ba6313d561d54e78c9e7171.png" + content: "||@everyone||" + footer_title: "Changelog" + footer_icon_url: "https://cdn.discordapp.com/avatars/487431320314576937/bd64361e4ba6313d561d54e78c9e7171.png" + footer_timestamp: true