mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-04-30 04:20:20 +00:00
fix: trigger Docker publish workflow in release pipeline
The release workflow publishes via GitHub API (patching draft to published), which doesn't fire the release webhook. This meant the Docker publish workflow was never triggered automatically. Added explicit workflow dispatch for publish-docker.yml after release publish, similar to how update-demo-server.yml was already dispatched. Related to #797
This commit is contained in:
parent
4f824ab148
commit
e74b09557d
1 changed files with 14 additions and 2 deletions
16
.github/workflows/create-release.yml
vendored
16
.github/workflows/create-release.yml
vendored
|
|
@ -444,6 +444,20 @@ jobs:
|
|||
|
||||
echo "✓ Release published as latest: ${TAG}"
|
||||
|
||||
- name: Trigger Docker image publish
|
||||
continue-on-error: true # Non-fatal if dispatch fails
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.WORKFLOW_PAT }}
|
||||
run: |
|
||||
TAG="${{ needs.extract_version.outputs.tag }}"
|
||||
echo "Triggering Docker image publish for ${TAG}..."
|
||||
|
||||
# Publishing via API doesn't fire the release webhook, so we dispatch manually
|
||||
# Requires WORKFLOW_PAT secret with 'repo' and 'workflow' scopes
|
||||
gh workflow run publish-docker.yml -f tag="${TAG}"
|
||||
|
||||
echo "✓ Docker publish workflow dispatched"
|
||||
|
||||
- name: Trigger demo server update
|
||||
continue-on-error: true # Non-fatal if dispatch fails
|
||||
env:
|
||||
|
|
@ -452,8 +466,6 @@ jobs:
|
|||
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
|
||||
# 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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue