vercel-deployments-builds

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Vercel Deployments and Builds Skill

Vercel 部署与构建技能


progressive_disclosure: entry_point: summary: "Deployments and builds on Vercel: build pipeline, deployment environments, deploy hooks, release phases, checks, and rollback." when_to_use: - "When configuring build and deployment workflows" - "When using preview and production deployments" - "When controlling releases and rollbacks" quick_start: - "Connect a Git repository" - "Review build and deployment settings" - "Use previews for every branch" - "Promote to production and monitor" token_estimate: entry: 90-110 full: 3800-4800


progressive_disclosure: entry_point: summary: "Vercel 上的部署与构建:构建流水线、部署环境、部署钩子、发布阶段、检查与回滚。" when_to_use: - "配置构建与部署工作流时" - "使用预览与生产部署时" - "控制发布与回滚时" quick_start: - "连接 Git 仓库" - "查看构建与部署设置" - "为每个分支使用预览部署" - "推广至生产环境并监控" token_estimate: entry: 90-110 full: 3800-4800

Overview

概述

Vercel deployments and builds cover the full lifecycle from source changes to production releases with automated previews and rollback controls.
Vercel 部署与构建涵盖从源码变更到生产发布的完整生命周期,包含自动化预览与回滚控制。

Deployments

部署

  • Use preview deployments for every branch or pull request.
  • Promote deployments to production when ready.
  • Configure deployment retention where needed.
  • 为每个分支或拉取请求使用预览部署。
  • 准备就绪后将部署推广至生产环境。
  • 按需配置部署保留策略。

Builds

构建

  • Define build settings per project.
  • Use the Build Output API for custom build output.
  • Review build logs for failures.
  • 为每个项目定义构建设置。
  • 使用 Build Output API 自定义构建输出。
  • 查看构建日志排查故障。

Release Controls

发布控制

  • Use release phases for controlled rollouts.
  • Use instant rollback when a deployment causes regressions.
  • Add deployment checks for quality gates.
  • 使用发布阶段实现可控发布。
  • 当部署导致回归问题时使用即时回滚。
  • 添加部署检查作为质量门禁。

Automation

自动化

  • Trigger deployments with deploy hooks.
  • Add a deploy button for fast deploys.
  • 使用部署钩子触发部署。
  • 添加部署按钮实现快速部署。

Complementary Skills

互补技能

When using this skill, consider these related skills (if deployed):
  • vercel-functions-runtime: Functions and runtime behavior for deployments.
  • vercel-networking-domains: Domains, routing, and CDN behavior.
  • vercel-observability: Logs and tracing for deployment issues.
Note: Complementary skills are optional. This skill is fully functional without them.
使用本技能时,可考虑以下相关技能(若已部署):
  • vercel-functions-runtime: 部署的函数与运行时行为。
  • vercel-networking-domains: 域名、路由与 CDN 行为。
  • vercel-observability: 用于排查部署问题的日志与追踪。
注:互补技能为可选项。本技能无需依赖即可完整运行。

Resources

资源