From b7d3072fcbbfa58d7af4a89b430a165682ff4dc0 Mon Sep 17 00:00:00 2001 From: Jack Reimers Date: Tue, 26 Mar 2024 09:05:50 +1000 Subject: [PATCH] Revert build directory --- .github/workflows/deploy.yml | 2 +- svelte.config.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index fbce7f4..e1a2392 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -31,7 +31,7 @@ jobs: - name: Upload Artifacts uses: actions/upload-pages-artifact@v2 with: - path: 'build' + path: 'build/' deploy: needs: build_site diff --git a/svelte.config.js b/svelte.config.js index 29ef34f..2f29b88 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -6,7 +6,8 @@ const config = { preprocess: vitePreprocess(), adapter: adapter({ - fallback: '404.html' + fallback: '404.html', + build: 'build/' }), paths: { base: process.argv.includes('dev') ? '' : process.env.BASE_PATH