Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
wheattoast11 committed Nov 20, 2024
1 parent cf4ca34 commit f23e20f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,13 @@ jobs:
with:
node-version: 18
cache: 'npm'
- run: npm ci
- run: npm run build
- uses: JamesIves/github-pages-deploy-action@v4
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: dist
branch: gh-pages
branch: gh-pages
clean: true
2 changes: 1 addition & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';

export default defineConfig({
base: '/wheattoast11.github.io/',
base: '/', // Changed from '/wheattoast11.github.io/'
plugins: [react()],
build: {
outDir: 'dist'
Expand Down

0 comments on commit f23e20f

Please sign in to comment.