Make demo server trigger non-fatal in release workflow
GITHUB_TOKEN cannot dispatch workflows in the same repo. Mark the step as continue-on-error so the release succeeds even if demo update fails. Related to v4.34.1 release failure.
This commit is contained in:
parent
89605277e6
commit
1d0c8b3ce1
1 changed files with 2 additions and 0 deletions
2
.github/workflows/create-release.yml
vendored
2
.github/workflows/create-release.yml
vendored
|
|
@ -445,6 +445,7 @@ jobs:
|
|||
echo "✓ Release published as latest: ${TAG}"
|
||||
|
||||
- name: Trigger demo server update
|
||||
continue-on-error: true # GITHUB_TOKEN can't dispatch workflows; non-fatal
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
run: |
|
||||
|
|
@ -452,6 +453,7 @@ jobs:
|
|||
echo "Triggering demo server update for ${TAG}..."
|
||||
|
||||
# Publishing via API doesn't fire the release webhook, so we dispatch manually
|
||||
# This may fail due to GITHUB_TOKEN limitations - demo update is non-critical
|
||||
gh workflow run update-demo-server.yml -f tag="${TAG}"
|
||||
|
||||
echo "✓ Demo server update workflow dispatched"
|
||||
|
|
|
|||
Loading…
Reference in a new issue