deploy: pass --models-tag in release.yml demo + editor builds
The tag-triggered release pipeline built the demo (and backed editor) without --models-tag, so modelsSourceConfig() returned null and every kind=model3d ensure logged "(unserved)" — 3D component models never loaded on demo.pcbjam.com. The manual deploy-demo.yml already passed it; mirror its MODELS_TAG env (10.0.3) in release.yml for both builds. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UQRBzfidkoTU5yc7HnF9x7
This commit is contained in:
parent
855137c650
commit
9697de7b26
1 changed files with 7 additions and 0 deletions
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
|
|
@ -33,6 +33,11 @@ env:
|
|||
BUCKET: pcbjam-cdn
|
||||
# KiCad library snapshot the demo points at (published by publish-libs.yml).
|
||||
LIB_TAG: "10.0.3"
|
||||
# kicad-packages3D snapshot the demo's lazy 3D models point at (published once
|
||||
# to libs/kicad-models/<MODELS_TAG>/ — see scripts/deploy/publish-models.ts +
|
||||
# upload-models-r2.sh; docs/features/3d-models). Empty ⇒ 3D models off.
|
||||
# Keep in sync with deploy-demo.yml.
|
||||
MODELS_TAG: "10.0.3"
|
||||
PAGES_PROJECT: pcbjam-demo
|
||||
PAGES_PROD_BRANCH: production
|
||||
# Backed editor deployment (remote mode against the closed API). The closed
|
||||
|
|
@ -124,6 +129,7 @@ jobs:
|
|||
run: >
|
||||
node scripts/deploy/build-demo.mjs --tag "${{ needs.meta.outputs.tag }}"
|
||||
--cdn "$CDN" --lib-tag "$LIB_TAG"
|
||||
${MODELS_TAG:+--models-tag "$MODELS_TAG"}
|
||||
--plausible "${{ vars.PLAUSIBLE_DOMAIN }}"
|
||||
|
||||
- name: Ensure Pages project exists
|
||||
|
|
@ -172,6 +178,7 @@ jobs:
|
|||
node scripts/deploy/build-editor.mjs --tag "$RELEASE_TAG"
|
||||
--cdn "$CDN" --api-base "$EDITOR_API_BASE"
|
||||
--plausible "editor.pcbjam.com"
|
||||
${MODELS_TAG:+--models-tag "$MODELS_TAG"}
|
||||
|
||||
- name: Ensure Pages project exists
|
||||
run: >
|
||||
|
|
|
|||
Loading…
Reference in a new issue