From c813293c87939008d1a71fbf48e938770e7eaab5 Mon Sep 17 00:00:00 2001 From: Xi Xu Date: Fri, 7 Nov 2025 15:43:36 +0800 Subject: [PATCH] Update Cloudflare deployment instructions in README Improved the deployment steps in both English and Chinese README files by adding direct links for forking the repository and updating the instructions for obtaining Cloudflare credentials and configuring GitHub secrets for clarity. --- README.en.md | 9 ++++----- README.md | 9 ++++----- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/README.en.md b/README.en.md index 57e4fa1..baa3167 100644 --- a/README.en.md +++ b/README.en.md @@ -2326,17 +2326,16 @@ sudo systemctl restart containerd ### Deployment Steps -1. **Fork this repository**: Click the Fork button in the upper right corner of the GitHub page +1. **Fork this repository**: [Fork xixu-me/Xget](https://github.com/xixu-me/Xget/fork) 2. **Get Cloudflare credentials**: - - Visit [Cloudflare Dashboard](https://dash.cloudflare.com/) → My Profile → API Tokens - - Create an API Token with "Edit Cloudflare Workers" permission - - Note your Account ID (visible on the right side of the Workers page) + - Visit [Account API tokens](https://dash.cloudflare.com/?to=/:account/api-tokens) to create and note an API token, using the "Edit Cloudflare Workers" template. + - Visit [Workers and Pages](https://dash.cloudflare.com/?to=/:account/workers-and-pages) to note the Account ID. 3. **Configure GitHub Secrets**: - Go to your GitHub repository → Settings → Secrets and variables → Actions - Add the following Secrets: - - `CLOUDFLARE_API_TOKEN`: Your API Token + - `CLOUDFLARE_API_TOKEN`: Your API token - `CLOUDFLARE_ACCOUNT_ID`: Your Account ID 4. **Trigger deployment**: diff --git a/README.md b/README.md index 45c4032..d6f5a6f 100644 --- a/README.md +++ b/README.md @@ -2336,17 +2336,16 @@ sudo systemctl restart containerd ### 部署步骤 -1. **fork 本存储库**:点击 GitHub 页面右上角的 Fork 按钮 +1. **fork 本存储库**:[Fork xixu-me/Xget](https://github.com/xixu-me/Xget/fork) 2. **获取 Cloudflare 凭证**: - - 访问 [Cloudflare Dashboard](https://dash.cloudflare.com/) → My Profile → API Tokens - - 创建一个具有 "Edit Cloudflare Workers" 权限的 API Token - - 记录你的 Account ID(在 Workers 页面右侧可见) + - 访问[帐户 API 令牌](https://dash.cloudflare.com/?to=/:account/api-tokens)创建并记录 API 令牌,使用“编辑 Cloudflare Workers”模板 + - 访问 [Workers 和 Pages](https://dash.cloudflare.com/?to=/:account/workers-and-pages) 记录 Account ID 3. **配置 GitHub Secrets**: - 进入你的 GitHub 存储库 → Settings → Secrets and variables → Actions - 添加以下 Secrets: - - `CLOUDFLARE_API_TOKEN`:你的 API Token + - `CLOUDFLARE_API_TOKEN`:你的 API 令牌 - `CLOUDFLARE_ACCOUNT_ID`:你的 Account ID 4. **触发部署**: