Add Vercel deployment instructions and badge

Added Vercel deployment badge and detailed deployment steps to both English and Chinese README files. Updated the GitHub Actions workflow commit messages to generalize function conversion steps and removed detailed change lists. Minor wording improvements in the Chinese README for consistency.
This commit is contained in:
xixu-me committed 2025-11-25 16:15:18 +08:00
1 parent 82475ae45e
commit 870014ba03
3 files changed
+50 -16

No files matched your search

+1 -13
View File
@@ -168,12 +168,6 @@ jobs:
Auto-converted from main branch commit ${{ github.sha }}
Changes:
- Add functions/[[path]].js: Catch-all Pages Function handler
- Update src/index.js: Export handleRequest for Pages Function import
- Update wrangler.toml: Configure for Pages deployment (no observability)
- Update package.json: Change scripts to use Pages commands
Runtime files only (documentation, tests, and dev configs excluded)."
- name: Force push to pages branch
@@ -367,16 +361,10 @@ jobs:
git config user.email "github-actions[bot]@users.noreply.github.com"
git checkout -b functions
git add .
git commit -m "Convert Workers to Vercel Functions
git commit -m "Convert Workers to Functions
Auto-converted from main branch commit ${{ github.sha }}
Changes:
- Add api/index.js: Vercel Edge Function adapter
- Add vercel.json: Vercel routing and headers configuration
- Update src/index.js: Export handleRequest for Vercel adapter import
- Update package.json: Change scripts to use Vercel commands
Runtime files only (documentation, tests, and dev configs excluded)."
- name: Force push to functions branch