diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index f93293c..798d2fb 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -23,7 +23,7 @@ jobs: node-version: '20' - name: Build - run: npm ci && npm run build + run: npm ci && npm run build:github - name: Deploy uses: peaceiris/actions-gh-pages@v4 diff --git a/vite.config.ts b/vite.config.ts index 2ebd0b5..18054af 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -18,7 +18,7 @@ const plugins = [ // https://vitejs.dev/config/ export default defineConfig(({ command, mode, ssrBuild }) => { // Only run PurgeCSS in production builds - if (command === 'build') { + if (command === 'builds') { return { plugins, css: {