mirror of
https://github.com/morgan9e/chatgpt-web
synced 2026-04-13 16:04:05 +09:00
fixxx
This commit is contained in:
2
.github/workflows/pages.yml
vendored
2
.github/workflows/pages.yml
vendored
@@ -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
|
||||
|
||||
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user