Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Use WORKFLOW_PAT for demo server dispatch if available

rcourtman120474d1f555
diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml
index 54a213f042..3d10363b61 100644
--- a/.github/workflows/create-release.yml
+++ b/.github/workflows/create-release.yml
@@ -445,15 +445,15 @@ jobs:
echo "✓ Release published as latest: ${TAG}"
- name: Trigger demo server update
- continue-on-error: true # GITHUB_TOKEN can't dispatch workflows; non-fatal
+ continue-on-error: true # Non-fatal if PAT not configured
env:
- GH_TOKEN: ${{ github.token }}
+ GH_TOKEN: ${{ secrets.WORKFLOW_PAT || 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
- # This may fail due to GITHUB_TOKEN limitations - demo update is non-critical
+ # Requires WORKFLOW_PAT secret with 'repo' and 'workflow' scopes
gh workflow run update-demo-server.yml -f tag="${TAG}"
echo "✓ Demo server update workflow dispatched"