Skip to content

Commit e5673d0

Browse files
authored
chore: add job for release notes website sync (#16410)
adds job to post release to trigger release notes sync to payload website
1 parent 91a87cb commit e5673d0

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/post-release.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,17 @@ jobs:
3939
comment-template: |
4040
🚀 This is included in version {release_link}
4141
42+
dispatch-to-website:
43+
runs-on: ubuntu-24.04
44+
if: ${{ github.event_name != 'workflow_dispatch' }}
45+
steps:
46+
- name: Dispatch release event to website
47+
uses: peter-evans/repository-dispatch@v3
48+
with:
49+
token: ${{ secrets.PAYLOAD_REPOSITORY_DISPATCH }}
50+
repository: payloadcms/website
51+
event-type: payload-release-event
52+
4253
github-releases-to-discord:
4354
runs-on: ubuntu-24.04
4455
if: ${{ github.event_name != 'workflow_dispatch' }}

0 commit comments

Comments
 (0)