Skip to content

Commit be8edee

Browse files
MichaelMichael
authored andcommitted
Adjust for vite build
1 parent 7ef097b commit be8edee

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- name: Upload artifact
4242
uses: actions/upload-pages-artifact@v3
4343
with:
44-
path: './build'
44+
path: './dist'
4545
retention-days: 1
4646

4747
- name: Deploy to GitHub Pages

vite.config.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ import react from '@vitejs/plugin-react'
44
import tailwindcss from '@tailwindcss/vite'
55

66
export default defineConfig({
7-
plugins: [
8-
react(),
9-
tailwindcss(),
10-
],
7+
base: '/deep-focus-trace/',
8+
plugins: [
9+
react(),
10+
tailwindcss(),
11+
],
1112
})

0 commit comments

Comments
 (0)