From 119c16f67203f45c629544d51265dc0f817a2e05 Mon Sep 17 00:00:00 2001 From: xiaoxian521 <1923740402@qq.com> Date: Thu, 2 May 2024 23:22:09 +0800 Subject: [PATCH] chore: update --- .github/workflows/pages.yml | 1 + base.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 9afdf5012..eebd62e97 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -30,6 +30,7 @@ jobs: - name: Deploy 🔧 run: | pnpm install --no-frozen-lockfile + sed -i "s#module.exports = "/"#module.exports = "/pure-admin-doc/"#g" $(pwd)/base.js pnpm build cd docs/.vuepress/dist touch README.md .nojekyll diff --git a/base.js b/base.js index 0ff57e40b..469c25143 100644 --- a/base.js +++ b/base.js @@ -1 +1 @@ -module.exports = '/' +module.exports = "/";