mirror of
https://github.com/morgan9e/chatgpt-web
synced 2026-04-14 00:14:04 +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'
|
node-version: '20'
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: npm ci && npm run build
|
run: npm ci && npm run build:github
|
||||||
|
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
uses: peaceiris/actions-gh-pages@v4
|
uses: peaceiris/actions-gh-pages@v4
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ const plugins = [
|
|||||||
// https://vitejs.dev/config/
|
// https://vitejs.dev/config/
|
||||||
export default defineConfig(({ command, mode, ssrBuild }) => {
|
export default defineConfig(({ command, mode, ssrBuild }) => {
|
||||||
// Only run PurgeCSS in production builds
|
// Only run PurgeCSS in production builds
|
||||||
if (command === 'build') {
|
if (command === 'builds') {
|
||||||
return {
|
return {
|
||||||
plugins,
|
plugins,
|
||||||
css: {
|
css: {
|
||||||
|
|||||||
Reference in New Issue
Block a user