diff --git a/.github/workflows/post-release.yml b/.github/workflows/post-release.yml index 650ef3957c..b632e9630c 100644 --- a/.github/workflows/post-release.yml +++ b/.github/workflows/post-release.yml @@ -37,6 +37,20 @@ jobs: comment-template: | 🚀 This is included in version {release_link} + github-releases-to-discord: + runs-on: ubuntu-latest + if: ${{ github.event_name != 'workflow_dispatch' }} + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Github Releases To Discord + uses: SethCohen/github-releases-to-discord@v1 + with: + webhook_url: ${{ secrets.DISCORD_RELEASES_WEBHOOK_URL }} + color: '16777215' + username: 'Payload Releases' + avatar_url: 'https://l4wlsi8vxy8hre4v.public.blob.vercel-storage.com/discord-bot-logo.png' + update_templates: if: false # Still needs some troubleshooting runs-on: ubuntu-latest