From 1e9c416e8271345a3d7141b7e7ecd45c8e4f72d6 Mon Sep 17 00:00:00 2001 From: ooithianhooi Date: Sat, 27 Jul 2024 21:18:03 +0800 Subject: [PATCH] fix: build path --- .github/workflows/deploy.yml | 2 +- vite.config.ts | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 1e50045..12dfcf0 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -50,7 +50,7 @@ jobs: uses: actions/upload-pages-artifact@v3 with: # Upload dist folder - path: './build' + path: './build/client' - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v4 \ No newline at end of file diff --git a/vite.config.ts b/vite.config.ts index 73be6db..4037b5b 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,11 +1,12 @@ -import { vitePlugin as remix } from "@remix-run/dev"; -import { defineConfig } from "vite"; -import tsconfigPaths from "vite-tsconfig-paths"; +import { vitePlugin as remix } from '@remix-run/dev'; +import { defineConfig } from 'vite'; +import tsconfigPaths from 'vite-tsconfig-paths'; export default defineConfig({ base: '/property-videos-summariser/', plugins: [ remix({ + basename: '/property-videos-summariser/', future: { v3_fetcherPersist: true, v3_relativeSplatPath: true,