Back to Hooks

Vercel Auto Deploy

Hooks automation 441

Automatically trigger Vercel deployments when code changes are committed, with environment-specific deployment strategies and rollback on failure. Setup: Export environment variables 'export VERCEL_TOKEN=your_token' and 'export VERCEL_PROJECT_ID=your_project_id' (get your token from vercel.com/account/tokens and project ID from your Vercel dashboard). Hook triggers on PostToolUse for Write, Edit, and MultiEdit operations affecting source code files.

Install Command
npx claude-code-templates@latest --hook automation/vercel-auto-deploy
View on GitHub
claude-code — vercel-auto-deploy

Content

JSON
{
"description": "Automatically trigger Vercel deployments when code changes are committed, with e..."
"hooks": {
"PostToolUse": [1 item]
}
}

Stack Builder

0 components

Your stack is empty

Browse components and click the + button to add them to your stack for easy installation.