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 = "/";