Skip to content

Commit 6be23d9

Browse files
committed
ci: Adjust schema generate to work with new structure (still disabled till v5)
1 parent c20fef3 commit 6be23d9

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/workflows/deploy-vitepress-docs.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,11 @@ jobs:
6767
- name: Build jsdoc
6868
working-directory: ${{ runner.temp }}/isolated-docs
6969
run: npm run jsdoc-generate
70-
# TODO: Skip for now deployment of the schema until we do a Schema Version 5 release
71-
# - name: Build Sch3 |
72-
# npm run schema-generate
73-
# npm run schema-workspace-generate
70+
- name: Build Schema
71+
working-directory: ${{ runner.temp }}/isolated-docs
72+
run: |
73+
npm run schema-generate
74+
npm run schema-workspace-generate
7475
- name: Checkout gh-pages
7576
uses: actions/checkout@v5
7677
with:
@@ -80,7 +81,7 @@ jobs:
8081
run: |
8182
# TODO: Skip for now deployment of the schema until we do a Schema Version 5 release
8283
# rm -rf ./gh-pages/schema
83-
# cp -R ./site/schema ./gh-pages/
84+
# cp -R ${{ runner.temp }}/isolated-docs/schema ./gh-pages/schema/
8485
rm -rf ./gh-pages/${DOC_VERSION}
8586
rm -rf ./gh-pages/${DOC_ALIAS}
8687

.github/workflows/github-ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ jobs:
4444
run: npm run jsdoc-generate
4545

4646
- name: Generate merged JSON schema
47+
working-directory: internal/documentation
4748
run: npm run schema-generate
4849

4950
- name: Generate CLI documentation

0 commit comments

Comments
 (0)