ci: update vercel config and github workflow for deployment

Update vercel.json to specify Vite framework and build command
Modify deploy.yml to include base path in build command for GitHub Pages
This commit is contained in:
sanbuphy
2026-01-12 13:00:43 +08:00
parent 50e252c3b4
commit 8ef37053a8
2 changed files with 4 additions and 1 deletions
+2 -1
View File
@@ -40,7 +40,8 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Build with VitePress
run: npm run build
# 假设仓库名为 easy-vibe,如果是其他名称,请修改 /easy-vibe/ 为 /仓库名/
run: npm run build -- --base /easy-vibe/
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with: