1
0
mirror of https://github.com/WeBankFinTech/fes.js.git synced 2025-04-06 03:59:53 +08:00

docs: 解决pages问题

This commit is contained in:
wanchun 2023-04-10 14:50:09 +08:00
parent 98e9cf9b17
commit dcf885b271
2 changed files with 2 additions and 1 deletions
.github/workflows
package.json

@ -50,7 +50,7 @@ jobs:
- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built. - name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
run: | run: |
pnpm i pnpm i
pnpm docs:build pnpm docs:build-pages
- name: Deploy 🚀 - name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.3.3 uses: JamesIves/github-pages-deploy-action@v4.3.3
with: with:

@ -15,6 +15,7 @@
"clean": "rm -rf ./node_modules & rm -rf packages/**/node_modules & rm -rf packages/**/.cache", "clean": "rm -rf ./node_modules & rm -rf packages/**/node_modules & rm -rf packages/**/.cache",
"docs:dev": "vuepress dev docs --clean-cache", "docs:dev": "vuepress dev docs --clean-cache",
"docs:build": "vuepress build docs --clean-cache", "docs:build": "vuepress build docs --clean-cache",
"docs:build-pages": "BASE=/fes.js/ vuepress build docs --clean-cache",
"test": "fes test", "test": "fes test",
"lint": "eslint -c ./.eslintrc.js --ignore-pattern='templates' --ext .js,.jsx,.vue,.ts", "lint": "eslint -c ./.eslintrc.js --ignore-pattern='templates' --ext .js,.jsx,.vue,.ts",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s" "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s"