From 5933e902fe382dfcf56b4a70a5d6fc54c7d2aa3e Mon Sep 17 00:00:00 2001 From: wrnrlr Date: Mon, 28 Oct 2024 21:47:04 +0100 Subject: [PATCH] Fix workflow 7 --- .github/workflows/publish.yml | 4 ---- www/vite.config.js | 3 ++- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d2f1528..2eea153 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -33,10 +33,6 @@ jobs: - name: Deno install run: deno install - # - run: deno task clean - # - name: NPM install - # run: npm install - # - name: Lint # run: deno lint diff --git a/www/vite.config.js b/www/vite.config.js index 47668ce..21cbf20 100644 --- a/www/vite.config.js +++ b/www/vite.config.js @@ -25,6 +25,7 @@ function typedocPlugin() { export default defineConfig(({ command, mode }) => { const root = path.join(__dirname, '') + const base = const define = {} let build @@ -54,7 +55,7 @@ export default defineConfig(({ command, mode }) => { build, optimizeDeps, assetsInclude, - base: mode==='production' ? '/prelude' : undefined, + base: mode==='production' ? 'https://wrnrlr.github.io/prelude/' : undefined, plugins: [ // typedocPlugin() ]