Added a special `build:github` script
This commit is contained in:
parent
72615bc4bd
commit
e9990ae9f7
|
@ -23,7 +23,7 @@ jobs:
|
||||||
node-version: '18'
|
node-version: '18'
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: npm ci && npm run build
|
run: npm ci && npm run bbuild:github
|
||||||
|
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
uses: peaceiris/actions-gh-pages@v3
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
|
|
|
@ -5,7 +5,8 @@
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
"build": "vite build --base=/chatgpt-web/",
|
"build": "vite build",
|
||||||
|
"build:github": "vite build --base=/chatgpt-web/",
|
||||||
"preview": "vite preview",
|
"preview": "vite preview",
|
||||||
"check": "svelte-check --tsconfig ./tsconfig.json"
|
"check": "svelte-check --tsconfig ./tsconfig.json"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue