mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-19 10:33:29 +00:00
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
ee9c63c880
commit
d305fb0243
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…
Add table
Add a link
Reference in a new issue