From 43d61af1a010d5f0f1f525737ab883682d99c50c Mon Sep 17 00:00:00 2001 From: Denis Fadeev Date: Mon, 21 Oct 2024 14:37:18 +0300 Subject: [PATCH] ci: publish releases to Discord (#49) --- .github/workflows/release-to-discord.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/release-to-discord.yml diff --git a/.github/workflows/release-to-discord.yml b/.github/workflows/release-to-discord.yml new file mode 100644 index 0000000..610e988 --- /dev/null +++ b/.github/workflows/release-to-discord.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: Github Releases To Discord + uses: SethCohen/github-releases-to-discord@v1 + with: + webhook_url: ${{ secrets.WEBHOOK_URL }} + color: "2105893" + username: "Release Changelog" + content: "||@everyone||" + footer_title: "Changelog" + footer_timestamp: true + max_description: "4096" + reduce_headings: true