Skip to content

Commit 41d12d7

Browse files
tristantarrantCrumby
authored andcommitted
Notify website on release to update release data
Send a repository_dispatch event to infinispan.github.io after a successful release so the website automatically picks up the new version.
1 parent d1ef3fa commit 41d12d7

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/image_release.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,3 +214,11 @@ jobs:
214214
templateYmlFile: 'operator/.github-scheduled-workflows/publish-main.yaml'
215215
targetYmlFileName: publish-main.yaml
216216
copyEnvVariables: REF REL_VERSION
217+
218+
- name: Update website release data
219+
uses: peter-evans/repository-dispatch@v3
220+
with:
221+
token: ${{ secrets.API_TOKEN_GITHUB }}
222+
repository: infinispan/infinispan.github.io
223+
event-type: release_updated
224+
client-payload: '{"project": "operator", "version": "${{ steps.bump_tag.outputs.new_tag }}"}'

0 commit comments

Comments
 (0)