Skip to content

Commit 0869270

Browse files
committed
ci: Adjust schema generate to work with new structure (still disabled till v5)
1 parent 4362d11 commit 0869270

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
@@ -59,10 +59,11 @@ jobs:
5959
- name: Build jsdoc
6060
working-directory: internal/documentation
6161
run: npm run jsdoc-generate
62-
# TODO: Skip for now deployment of the schema until we do a Schema Version 5 release
63-
# - name: Build Sch3 |
64-
# npm run schema-generate
65-
# npm run schema-workspace-generate
62+
- name: Build Schema
63+
working-directory: ${{ runner.temp }}/isolated-docs
64+
run: |
65+
npm run schema-generate
66+
npm run schema-workspace-generate
6667
- name: Checkout gh-pages
6768
uses: actions/checkout@v5
6869
with:
@@ -72,7 +73,7 @@ jobs:
7273
run: |
7374
# TODO: Skip for now deployment of the schema until we do a Schema Version 5 release
7475
# rm -rf ./gh-pages/schema
75-
# cp -R ./site/schema ./gh-pages/
76+
# cp -R ${{ runner.temp }}/isolated-docs/schema ./gh-pages/schema/
7677
rm -rf ./gh-pages/${DOC_VERSION}
7778
rm -rf ./gh-pages/${DOC_ALIAS}
7879

.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)