From 47adec8648d5f79b34a4fb86f8e9a2a716b5d46b Mon Sep 17 00:00:00 2001 From: wheattoast11 Date: Wed, 20 Nov 2024 15:30:19 -0600 Subject: [PATCH] update vite --- .github/workflows/deploy.yml | 7 ++++++- vite.config.js | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) 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'