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:
rcourtman 2025-11-28 21:32:36 +00:00
parent 89605277e6
commit 1d0c8b3ce1

View file

@ -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"