From dcf885b2716e951bb00fc45311d882a55a6d8d2a Mon Sep 17 00:00:00 2001 From: wanchun <445436867@qq.com> Date: Mon, 10 Apr 2023 14:50:09 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E8=A7=A3=E5=86=B3pages=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/docs.yml | 2 +- package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 034e14e3..2b4776ba 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -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. run: | pnpm i - pnpm docs:build + pnpm docs:build-pages - name: Deploy 🚀 uses: JamesIves/github-pages-deploy-action@v4.3.3 with: diff --git a/package.json b/package.json index d7c2d5df..391fcb39 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "clean": "rm -rf ./node_modules & rm -rf packages/**/node_modules & rm -rf packages/**/.cache", "docs:dev": "vuepress dev docs --clean-cache", "docs:build": "vuepress build docs --clean-cache", + "docs:build-pages": "BASE=/fes.js/ vuepress build docs --clean-cache", "test": "fes test", "lint": "eslint -c ./.eslintrc.js --ignore-pattern='templates' --ext .js,.jsx,.vue,.ts", "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s"