From 076b64ff9e90df5813edf263ef352368f66b17c2 Mon Sep 17 00:00:00 2001 From: Xi Xu Date: Tue, 25 Nov 2025 18:52:26 +0800 Subject: [PATCH] Update deployment instructions for Vercel and EdgeOne Clarified and expanded the required GitHub secrets for Vercel deployments, including Team ID and Project ID, and updated token naming for EdgeOne in both English and Chinese README files. Improved wording for Netlify Project ID instructions. --- README.en.md | 14 +++++++++----- README.md | 16 ++++++++++------ 2 files changed, 19 insertions(+), 11 deletions(-) diff --git a/README.en.md b/README.en.md index 3fddf96..410cab4 100644 --- a/README.en.md +++ b/README.en.md @@ -2362,7 +2362,7 @@ client = OpenAI( 3. **Configure GitHub Secrets**: - Go to your GitHub repository → Settings → Secrets and variables → Actions - Add the following secret: - - `EDGEONE_PAGES_API_TOKEN`: Your EdgeOne Pages API Token + - `EDGEONE_PAGES_API_TOKEN`: Your API Token 4. **Trigger deployment**: - The repository will automatically convert Workers code to Pages-compatible format and sync to the `pages` branch @@ -2378,13 +2378,17 @@ client = OpenAI( 1. **Fork this repository**: [Fork xixu-me/Xget](https://github.com/xixu-me/Xget/fork) -2. **Get Vercel Token**: +2. **Get Vercel credentials**: - Visit [Vercel Account Settings](https://vercel.com/account/settings/tokens) to create and note an Access Token + - Visit Team Settings to note the Team ID + - Visit project's Settings after creating a new project to note the Project ID 3. **Configure GitHub Secrets**: - Go to your GitHub repository → Settings → Secrets and variables → Actions - - Add the following secret: - - `VERCEL_TOKEN`: Your Vercel Access Token + - Add the following secrets: + - `VERCEL_TOKEN`: Your Access Token + - `VERCEL_ORG_ID`: Your Team ID + - `VERCEL_PROJECT_ID`: Your Project ID 4. **Trigger deployment**: - The repository will automatically convert Workers code to Functions-compatible format and sync to the `functions` branch @@ -2402,7 +2406,7 @@ client = OpenAI( 2. **Get Netlify credentials**: - Visit [Netlify User Settings](https://app.netlify.com/user/applications) to create and note a personal access token - - Visit the project configuration page after creating a new project to note the Project ID + - Visit Project configuration after creating a new project to note the Project ID 3. **Configure GitHub Secrets**: - Go to your GitHub repository → Settings → Secrets and variables → Actions diff --git a/README.md b/README.md index 19d9386..68a2d21 100644 --- a/README.md +++ b/README.md @@ -2372,7 +2372,7 @@ client = OpenAI( 3. **配置 GitHub Secrets**: - 进入你的 GitHub 存储库 → Settings → Secrets and variables → Actions - 添加以下 secret: - - `EDGEONE_API_TOKEN`:你的 EdgeOne Pages API Token + - `EDGEONE_API_TOKEN`:你的 API Token 4. **触发部署**: - 存储库会自动将 Workers 代码转换为 Pages 兼容格式并同步到 `pages` 分支 @@ -2388,13 +2388,17 @@ client = OpenAI( 1. **fork 本存储库**:[Fork xixu-me/Xget](https://github.com/xixu-me/Xget/fork) -2. **获取 Vercel Access Token**: - - 访问 [Vercel 账户设置](https://vercel.com/account/settings/tokens)创建并记录 Access Token +2. **获取 Vercel 凭证**: + - 访问 [Vercel Account Settings](https://vercel.com/account/settings/tokens) 创建并记录 Access Token + - 访问 Team Settings 记录 Team ID + - 新建项目后访问项目的 Settings 记录 Project ID 3. **配置 GitHub Secrets**: - 进入你的 GitHub 存储库 → Settings → Secrets and variables → Actions - - 添加以下 secret: - - `VERCEL_TOKEN`:你的 Vercel Access Token + - 添加以下 secrets: + - `VERCEL_TOKEN`:你的 Access Token + - `VERCEL_ORG_ID`:你的 Team ID + - `VERCEL_PROJECT_ID`:你的 Project ID 4. **触发部署**: - 存储库会自动将 Workers 代码转换为 Functions 兼容格式并同步到 `functions` 分支 @@ -2412,7 +2416,7 @@ client = OpenAI( 2. **获取 Netlify 凭证**: - 访问 [Netlify User Settings](https://app.netlify.com/user/applications) 创建并记录 personal access token - - 新建项目后访问项目配置页面记录 Project ID + - 新建项目后访问 Project configuration 记录 Project ID 3. **配置 GitHub Secrets**: - 进入你的 GitHub 存储库 → Settings → Secrets and variables → Actions