Fix demo server not updating after release
Publishing via gh api PATCH doesn't fire the release webhook, so the update-demo-server workflow never triggered for v4.34.0. Now explicitly dispatch the demo update workflow after publishing. Related to #735
This commit is contained in:
parent
9b5f291a98
commit
e3ce05581b
1 changed files with 12 additions and 0 deletions
12
.github/workflows/create-release.yml
vendored
12
.github/workflows/create-release.yml
vendored
|
|
@ -444,6 +444,18 @@ jobs:
|
|||
|
||||
echo "✓ Release published as latest: ${TAG}"
|
||||
|
||||
- name: Trigger demo server update
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
run: |
|
||||
TAG="${{ needs.extract_version.outputs.tag }}"
|
||||
echo "Triggering demo server update for ${TAG}..."
|
||||
|
||||
# Publishing via API doesn't fire the release webhook, so we dispatch manually
|
||||
gh workflow run update-demo-server.yml -f tag="${TAG}"
|
||||
|
||||
echo "✓ Demo server update workflow dispatched"
|
||||
|
||||
- name: Output release information
|
||||
run: |
|
||||
echo "✅ Release published successfully!"
|
||||
|
|
|
|||
Loading…
Reference in a new issue