diff --git a/.config/vercel-deploy-tool.ts b/.config/vercel-deploy-tool.ts index d90d1f9..1c63afd 100644 --- a/.config/vercel-deploy-tool.ts +++ b/.config/vercel-deploy-tool.ts @@ -26,8 +26,7 @@ export default { { type: "userCommands", targetCWD: "./tests/monorepo-1", - isCopyDist: false, - outputDirectory: "src/.vuepress/dist/**/*", + outputDirectory: "dist/**/*", url: ["monorepo-1.ruancat6312.top"], userCommands: ["pnpm -C=./tests/monorepo-1 build:docs"], }, diff --git a/tests/monorepo-1/src/configs/vitepress/.vitepress/config.mts b/tests/monorepo-1/src/configs/vitepress/.vitepress/config.mts index d5f2998..41295ce 100644 --- a/tests/monorepo-1/src/configs/vitepress/.vitepress/config.mts +++ b/tests/monorepo-1/src/configs/vitepress/.vitepress/config.mts @@ -8,7 +8,8 @@ export default defineConfig({ base: "/vitepress/", srcDir: "../../../docs", - outDir: "../../../.vercel/output/static/vitepress", + outDir: "../../../dist/vitepress", + cacheDir: "../../../.cache/vitepress", themeConfig: { i18nRouting: true, diff --git a/tests/monorepo-1/src/configs/vp-hope/config.ts b/tests/monorepo-1/src/configs/vp-hope/config.ts index 67333da..3ef8572 100644 --- a/tests/monorepo-1/src/configs/vp-hope/config.ts +++ b/tests/monorepo-1/src/configs/vp-hope/config.ts @@ -14,9 +14,8 @@ const currPath = "src/configs/vp-hope"; export default defineRuanCatVuepressConfig({ title: "monorepo-1-vp-hope主题", base: "/vp-hope/", - // dest: `${currPath}/dist`, - dest: `.vercel/output/static/vp-hope`, - cache: `${currPath}/.cache`, - temp: `${currPath}/.temp`, + dest: `dist/vp-hope`, + cache: `.cache/vp-hope`, + temp: `.temp/vp-hope`, public: `${currPath}/public`, });