[feat] build config generator from source in CI instead of committing static output

This commit is contained in:
KyleAtASU
2026-08-09 14:33:27 -07:00
committed by SolitaryThinker
parent dd37a13598
commit 2b2a89ad91
51 changed files with 3367 additions and 131 deletions
+23
View File
@@ -6,6 +6,7 @@ on:
paths:
- 'docs/**'
- 'examples/**'
- 'consumer-guide/**'
- 'mkdocs.yml'
- 'requirements-mkdocs.in'
- 'requirements-mkdocs.txt'
@@ -16,6 +17,7 @@ on:
paths:
- 'docs/**'
- 'examples/**'
- 'consumer-guide/**'
- 'mkdocs.yml'
- 'requirements-mkdocs.in'
- 'requirements-mkdocs.txt'
@@ -60,6 +62,27 @@ jobs:
- name: Check docs links
run: python scripts/check_docs_links.py
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Enable pnpm
run: corepack enable
- name: Install config generator dependencies
working-directory: consumer-guide
run: pnpm install --frozen-lockfile
- name: Build config generator
working-directory: consumer-guide
run: NEXT_BASE_PATH=/config-generator pnpm build
- name: Copy config generator into docs site
run: |
mkdir -p site/config-generator
cp -R consumer-guide/out/. site/config-generator/
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with: