| name | vercel-deploy-integration |
| description | Deploy and manage Vercel production deployments with promotion, rollback, and multi-region strategies.
Use when deploying to production, configuring deployment regions,
or setting up blue-green deployment patterns on Vercel.
Trigger with phrases like "deploy vercel", "vercel production deploy",
"vercel promote", "vercel rollback", "vercel regions".
|
| allowed-tools | Read, Write, Edit, Bash(vercel:*), Bash(curl:*) |
| version | 1.18.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
| tags | ["saas","vercel","deployment","production","rollback"] |
| compatibility | Designed for Claude Code, also compatible with Codex and OpenClaw |
Vercel Deploy Integration
Overview
Deploy Vercel applications to production using CLI, API, and Git-triggered workflows. Covers deployment promotion, instant rollback, rolling releases, multi-region function configuration, and deploy hooks for headless CMS integration.
Prerequisites
- Vercel project linked and configured
- Production environment variables set
- Custom domain configured (optional)
VERCEL_TOKEN for API-based deployments
Instructions
Step 1: Production Deploy Methods
vercel --prod
vercel promote https://my-app-preview-xxx.vercel.app
curl -X POST "https://api.vercel.com/v13/deployments" \
-H "Authorization: Bearer $VERCEL_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "my-app",
"target": "production",
"gitSource": {
"type": "github",
"repoId": "123456789",
"ref": "main",
"sha": "'$(git rev-parse HEAD)'"
}
}'
curl -X POST "https://api.vercel.com/v1/integrations/deploy/prj_xxx/hook_xxx"
Step 2: Instant Rollback
vercel rollback
vercel rollback dpl_xxxxxxxxxxxx
vercel ls --prod
curl -s https://yourdomain.com/api/health | jq .
curl -X POST "https://api.vercel.com/v9/projects/my-app/promote" \
-H "Authorization: Bearer $VERCEL_TOKEN" \
-H "Content-Type: application/json" \
-d '{"deploymentId": "dpl_known_good_id"}'
Key points:
- Instant rollback swaps production traffic without rebuilding
- The rolled-back deployment retains its original environment variables