mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-23 20:25:56 +00:00
Fix release-line demo workflow dispatch and verification
This commit is contained in:
@@ -696,23 +696,25 @@ jobs:
|
||||
continue-on-error: true
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.WORKFLOW_PAT }}
|
||||
REQUIRED_BRANCH: ${{ needs.prepare.outputs.required_branch }}
|
||||
run: |
|
||||
gh workflow run publish-docker.yml -f tag="${{ needs.prepare.outputs.tag }}"
|
||||
echo "[OK] Docker publish workflow dispatched"
|
||||
gh workflow run publish-docker.yml --ref "${REQUIRED_BRANCH}" -f tag="${{ needs.prepare.outputs.tag }}"
|
||||
echo "[OK] Docker publish workflow dispatched from ${REQUIRED_BRANCH}"
|
||||
|
||||
- name: Trigger demo server update
|
||||
if: ${{ github.event.inputs.draft_only != 'true' }}
|
||||
continue-on-error: true
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.WORKFLOW_PAT }}
|
||||
REQUIRED_BRANCH: ${{ needs.prepare.outputs.required_branch }}
|
||||
run: |
|
||||
if [ "${{ needs.prepare.outputs.is_prerelease }}" = "true" ]; then
|
||||
TARGET="preview-v6"
|
||||
else
|
||||
TARGET="stable"
|
||||
fi
|
||||
gh workflow run update-demo-server.yml -f tag="${{ needs.prepare.outputs.tag }}" -f target="${TARGET}"
|
||||
echo "[OK] Demo server update dispatched for ${TARGET}"
|
||||
gh workflow run update-demo-server.yml --ref "${REQUIRED_BRANCH}" -f tag="${{ needs.prepare.outputs.tag }}" -f target="${TARGET}"
|
||||
echo "[OK] Demo server update dispatched for ${TARGET} from ${REQUIRED_BRANCH}"
|
||||
|
||||
- name: Summary
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user