From 6801b9407c01c1b8c03875558c1d46315c2a4a3a Mon Sep 17 00:00:00 2001 From: 7Sageer <7sageer@djwcb.cn> Date: Thu, 3 Oct 2024 16:15:50 +0800 Subject: [PATCH 1/3] Update README.md --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9a0ec46c..aac31517 100644 --- a/README.md +++ b/README.md @@ -19,10 +19,17 @@ Sublink Worker 是一个可部署在 Cloudflare Worker 上,小而美的订阅 - 提供多种预定义规则集 - 可自建关于geo-site, geo-ip, ip-cidr和domain-suffix的自定义策略组 -## 快速部署 +## 部署 +### 快速部署 [![Deploy to Cloudflare Workers](https://deploy.workers.cloudflare.com/button)](https://deploy.workers.cloudflare.com/?url=https://github.com/7Sageer/sublink-worker) +### 手动部署 +- 克隆项目仓库:`git clone https://github.com/7Sageer/sublink-worker.git` +- 安装依赖:`npm install` +- 配置 Cloudflare 账户凭证 +- 使用 Wrangler 部署:`wrangler deploy` + ## API 文档 详细的 API 文档可以在 [API-doc.md](/doc/API-doc.md) 中找到。 From 0d859e5aa0a252896c9cd35aa0d77c2f4a38875e Mon Sep 17 00:00:00 2001 From: 7Sageer <12210216@mail.sustech.edu.cn> Date: Sat, 5 Oct 2024 10:26:24 +0800 Subject: [PATCH 2/3] add .gitconfig --- .gitconfig | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .gitconfig diff --git a/.gitconfig b/.gitconfig new file mode 100644 index 00000000..690f5b03 --- /dev/null +++ b/.gitconfig @@ -0,0 +1,6 @@ +[merge] +tool = unityyamlmerge + +[mergetool "unityyamlmerge"] +trustExitCode = false +cmd = '/home/seven7/Unity/Hub/Editor/2022.3.46f1/Editor/Data/Tools/UnityYAMLMerge' merge -p "$BASE" "$REMOTE" "$LOCAL" "$MERGED" \ No newline at end of file From d152fb197b284096c03d4ee0295efd8e1b2071b6 Mon Sep 17 00:00:00 2001 From: 7Sageer <12210216@mail.sustech.edu.cn> Date: Sat, 5 Oct 2024 10:41:49 +0800 Subject: [PATCH 3/3] fix: remove .gitconfig --- .gitconfig | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 .gitconfig diff --git a/.gitconfig b/.gitconfig deleted file mode 100644 index 690f5b03..00000000 --- a/.gitconfig +++ /dev/null @@ -1,6 +0,0 @@ -[merge] -tool = unityyamlmerge - -[mergetool "unityyamlmerge"] -trustExitCode = false -cmd = '/home/seven7/Unity/Hub/Editor/2022.3.46f1/Editor/Data/Tools/UnityYAMLMerge' merge -p "$BASE" "$REMOTE" "$LOCAL" "$MERGED" \ No newline at end of file