Skip to content

Commit 3390185

Browse files
committed
build: docs cmd update
1 parent e462264 commit 3390185

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,12 @@ jobs:
6161
- name: LERNA - release packages
6262
run: npm run publish
6363

64-
- name: DOCS
64+
- name: DOCS - build
65+
run: npm run publish
66+
67+
- name: DOCS - publish
6568
uses: peaceiris/actions-gh-pages@v3
6669
with:
6770
github_token: ${{ secrets.DOC_README_FETCH }}
6871
publish_dir: ./docs/public
72+
cname: lesyjs.io

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"bump": "lerna version --conventional-commits --conventional-prerelease=* --no-commit-hooks --force-publish --yes --create-release github",
1010
"publish": "lerna publish from-package --yes --ignore-scripts",
1111
"docs": "lerna run develop --scope @lesy/docs",
12+
"build-docs": "lerna run build --scope @lesy/docs",
1213
"benchmark": "lerna run benchmark --scope @lesy/lesy-benchmark",
1314
"cbb": "npm run clean && npm run bootstrap && npm run build",
1415
"test": "jest --ci"

0 commit comments

Comments
 (0)