ci: add github-releases-to-discord

This commit is contained in:
Elliot DeNolf
2024-11-29 13:57:37 -05:00
parent f150a68f56
commit 702df1f5da

View File

@@ -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