From d5e56c0a20d539a941015299fb83fa2b0eacfccb Mon Sep 17 00:00:00 2001 From: lezi-fun <177434121+lezi-fun@users.noreply.github.com> Date: Mon, 10 Aug 2026 15:13:09 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20deploy=20button=20=E2=86=92=20dedicated?= =?UTF-8?q?=20template=20repo=20(forumlify-deploy)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Separate one-click deploy template repo with next as default branch, so Vercel imports the Next.js version without branch selection. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d58e459..b404464 100644 --- a/README.md +++ b/README.md @@ -126,10 +126,10 @@ Forumlify 的 Next.js 版本天然支持 serverless 部署。与传统部署相 ### Vercel 部署(一键) -[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Flezi-fun%2Fforumlify&env=DATABASE_URL,JWT_SECRET,S3_ENDPOINT,S3_BUCKET,S3_REGION,S3_ACCESS_KEY_ID,S3_SECRET_ACCESS_KEY,S3_PUBLIC_URL) +[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Flezi-fun%2Fforumlify-deploy&env=DATABASE_URL,JWT_SECRET,S3_ENDPOINT,S3_BUCKET,S3_REGION,S3_ACCESS_KEY_ID,S3_SECRET_ACCESS_KEY,S3_PUBLIC_URL) 点击上方按钮,Vercel 会自动: -1. Fork 仓库并创建项目(该仓库默认分支是 `next`,即 Next.js 版,无需手动选分支) +1. Fork 部署模板仓库([lezi-fun/forumlify-deploy](https://github.com/lezi-fun/forumlify-deploy),默认分支 `next`,即 Next.js 版,无需手动选分支) 2. 提示你填写环境变量(见上方表格,前两个必填,其余可跳过) 3. 自动完成构建并部署,完成后会给你一个 `https://xxx.vercel.app` 地址