Back to 🚢 DevOps & Deployment

Deploy to Vercel Preview

VercelDeploymentCI/CD
---
description: Push current branch to a Vercel preview URL
---

1. **Install Vercel CLI**:
- Ensure you have the CLI.
// turbo
- Run npm i -g vercel

2. **Deploy**:
- Deploy the current directory.
// turbo
- Run vercel

3. **Pro Tips**:
- Use vercel --prod to deploy to production (dangerous!).
- Link your project first with vercel link.
By Antigravity Team

How to Use This Workflow

Option A: Project-Specific (Recommended)

  1. Click "Download" above
  2. In your project, create the directory: .agent/workflows/
  3. Save the file as deploy-branch-to-vercel-preview-environment.md
  4. In Antigravity, type /deploy_branch_to_vercel_preview_environment or just describe what you want to do

Learn more about workflows →

Related Workflows

Recommended Rules

View more rules →

Recommended MCP Servers

View more MCP servers →

Take It Further

Maximize your productivity with these powerful resources

📋

Define Your Standards

Set up coding standards to ensure this workflow produces consistent, high-quality results.

Browse Rules Library
📖

Master Workflows

Learn how to create custom workflows, use Turbo Mode, and build your automation library.

Complete Guide