Added a special `build:github` script

This commit is contained in:
Niek van der Maas 2023-03-03 10:58:07 +01:00
parent 72615bc4bd
commit e9990ae9f7
2 changed files with 3 additions and 2 deletions

View File

@ -23,7 +23,7 @@ jobs:
node-version: '18'
- name: Build
run: npm ci && npm run build
run: npm ci && npm run bbuild:github
- name: Deploy
uses: peaceiris/actions-gh-pages@v3

View File

@ -5,7 +5,8 @@
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build --base=/chatgpt-web/",
"build": "vite build",
"build:github": "vite build --base=/chatgpt-web/",
"preview": "vite preview",
"check": "svelte-check --tsconfig ./tsconfig.json"
},