Skip to content

Commit 702df1f

Browse files
committed
ci: add github-releases-to-discord
1 parent f150a68 commit 702df1f

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/post-release.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,20 @@ jobs:
3737
comment-template: |
3838
🚀 This is included in version {release_link}
3939
40+
github-releases-to-discord:
41+
runs-on: ubuntu-latest
42+
if: ${{ github.event_name != 'workflow_dispatch' }}
43+
steps:
44+
- name: Checkout
45+
uses: actions/checkout@v4
46+
- name: Github Releases To Discord
47+
uses: SethCohen/github-releases-to-discord@v1
48+
with:
49+
webhook_url: ${{ secrets.DISCORD_RELEASES_WEBHOOK_URL }}
50+
color: '16777215'
51+
username: 'Payload Releases'
52+
avatar_url: 'https://l4wlsi8vxy8hre4v.public.blob.vercel-storage.com/discord-bot-logo.png'
53+
4054
update_templates:
4155
if: false # Still needs some troubleshooting
4256
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)