Fix GitHub Pages: add Vite config with base path, fix favicon, add VITE_BASE env

This commit is contained in:
Xisheng-Zhao
2026-06-08 22:53:06 +08:00
parent fd3ba44e47
commit f5cc00b985
4 changed files with 16 additions and 2 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ jobs:
node-version: 20
cache: npm
cache-dependency-path: site/package-lock.json
- run: cd site && npm install && npm run build
- run: cd site && npm install && VITE_BASE=/multi-casual-android/ npm run build
- uses: actions/upload-pages-artifact@v3
with:
path: site/dist