Skip to content

Commit

Permalink
Update base path, use dist directory
Browse files Browse the repository at this point in the history
  • Loading branch information
drauf committed Aug 22, 2023
1 parent 7bf2eb1 commit a6342d2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
- name: Upload artifact for deployment
uses: actions/upload-pages-artifact@v2
with:
path: ./build
path: ./dist

deploy:
needs: test
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
.eslintcache

# production
/build
/dist

# misc
.idea
Expand Down
5 changes: 1 addition & 4 deletions vite.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,10 @@ import { configDefaults } from 'vitest/dist/config';

// https://vitejs.dev/config/
export default defineConfig({
base: '/',
base: '/watson/',
server: {
port: 3000,
},
build: {
outDir: 'build'
},
test: {
globals: true,
environment: 'jsdom',
Expand Down

0 comments on commit a6342d2

Please sign in to comment.