diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e4c8d88..06c5c73 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -12,6 +12,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - uses: actions/setup-node@v4 with: node-version: 18 @@ -25,4 +27,7 @@ jobs: with: folder: dist branch: gh-pages - clean: true \ No newline at end of file + clean: true + clean-exclude: | + .nojekyll + CNAME \ No newline at end of file diff --git a/vite.config.js b/vite.config.js index da9b89f..0ec2da9 100644 --- a/vite.config.js +++ b/vite.config.js @@ -2,7 +2,7 @@ import { defineConfig } from 'vite'; import react from '@vitejs/plugin-react'; export default defineConfig({ - base: '/', // Changed from '/wheattoast11.github.io/' + base: '/wheattoast11.github.io/', // Updated to match your repository name plugins: [react()], build: { outDir: 'dist'