AI 工具指南

Codex Codex Vercel 4 37

用 Codex 改完项目后准备部署到 Vercel,不要直接点发布。先检查构建命令、环境变量、路由、静态资源、预览链接、回滚方案和客户授权边界。

What is the problem?

用 Codex 改完项目后准备部署到 Vercel,不要直接点发布。先检查构建命令、环境变量、路由、静态资源、预览链接、回滚方案和客户授权边界。

Quick solution

Treat this as a Codex tutorial issue. First confirm the environment, inputs, permissions, logs, and delivery boundary. Then use the linked deep guide for the full checklist before changing production code or promising a result.

Read the deep guide

Detailed steps

  1. `package.json` 里是否有明确的 build 脚本。
  2. 本地 `npm run build` 是否通过。
  3. 是否新增环境变量,变量名是否已记录,值是否不该提交到仓库。
  4. 是否有图片、字体、静态文件路径大小写问题。
  5. 是否改动路由、sitemap、robots、canonical 或 SEO 相关逻辑。
  6. 是否有 API、数据库、鉴权、支付或第三方服务依赖。

Commands or code

Vercel 部署前检查

项目仓库:
目标分支:
本次提交:
构建命令:
本地构建结果:
新增环境变量名称:
预览链接:
需要客户确认的页面:
需要客户侧授权的事项:
回滚方式:
未验证风险:

Risk notes

Confirm the real project environment, account permissions, platform rules, and output quality before delivery. Do not ship AI-generated changes without human review, and do not claim indexing, income, deployment success, or ranking improvements without measured evidence.