Skip to content

Commit 96b1aff

Browse files
committed
chore: fix typedoc build command in CI
1 parent f0fb846 commit 96b1aff

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

.github/workflows/deploy-vfx-js.yml

-6
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,6 @@ jobs:
2525
- name: Build
2626
run: npm run build
2727

28-
- name: Sync TypeDoc
29-
run: |
30-
cd packages/docs
31-
rm -rf dist/docs
32-
mv docs dist/docs
33-
3428
- name: Deploy
3529
uses: peaceiris/actions-gh-pages@v3
3630
with:

packages/docs/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@
55
"type": "module",
66
"scripts": {
77
"dev": "vite --host",
8-
"build": "npm-run-all -p build:typedoc build:storybook build:tsc -s build:docs",
8+
"build": "npm-run-all -p build:typedoc build:storybook build:tsc -s build:docs build:typedoc-dist",
99
"build:tsc": "tsc",
1010
"build:typedoc": "rm -rf typedoc && cp -a ../vfx-js/docs-build typedoc",
1111
"build:storybook": "rm -rf storybook && cp -a ../storybook/docs-build storybook",
1212
"build:docs": "vite build",
13+
"build:typedoc-dist": "rm -rf dist/docs && cp -a typedoc dist/docs",
1314
"preview": "vite preview"
1415
},
1516
"dependencies": {

0 commit comments

Comments
 (0)