vercel-deploy-preview

Featured

Create and manage Vercel preview deployments for branches and pull requests. Use when deploying a preview for a pull request, testing changes before production, or sharing preview URLs with stakeholders. Trigger with phrases like "vercel deploy preview", "vercel preview URL", "create preview deployment", "vercel PR preview".

AI & Automation 2,274 stars 319 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Vercel Deploy Preview ## Overview Deploy preview environments for branches and pull requests. Every `git push` to a non-production branch generates a unique preview URL. Covers CLI-based previews, API-based previews, deployment protection, and comment integration. ## Prerequisites - Completed `vercel-install-auth` setup - Project linked via `vercel link` - Git repository connected in Vercel dashboard ## Instructions ### Step 1: Deploy Preview via CLI ```bash # Deploy current directory to a preview URL (default โ€” not --prod) vercel # Output: # ๐Ÿ”— Linked to your-team/my-app # ๐Ÿ” Inspect: https://vercel.com/your-team/my-app/AbCdEfG # โœ… Preview: https://my-app-git-feature-branch-your-team.vercel.app # Deploy a specific directory vercel ./dist # Deploy and wait for build to complete (useful in CI) vercel --no-wait # returns immediately with deployment URL ``` ### Step 2: Deploy Preview via REST API ```bash # Create a deployment via API โ€” useful for custom CI pipelines curl -X POST "https://api.vercel.com/v13/deployments" \ -H "Authorization: Bearer $VERCEL_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "name": "my-app", "target": "preview", "gitSource": { "type": "github", "repoId": "123456789", "ref": "feature/new-feature", "sha": "abc123def456" } }' ``` ### Step 3: Check Deployment Status ```bash # Poll deployment status until READY curl -s -H "Authorization: Bearer $VERCEL_TOKEN" \ "https://api.vercel.com/v13/d...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content โ€” not just same category