deploy-vercel
Scannednpx machina-cli add skill skill-tools/skill-tools/valid-skill --openclawFiles (1)
SKILL.md
619 B
Deploy to Vercel
Deploy your web application to Vercel with zero configuration.
Prerequisites
- Vercel CLI installed (
npm i -g vercel) - Authenticated with
vercel login
Steps
- Run
vercelin the project root - Follow the prompts to link your project
- Verify deployment at the provided URL
Error Handling
- Authentication failed: Run
vercel loginagain - Build failed: Check the build logs with
vercel logs
Source
git clone https://github.com/skill-tools/skill-tools/blob/pre-release/packages/core/test/fixtures/valid-skill/SKILL.mdView on GitHub Overview
Deploy to Vercel lets you publish a web app directly to Vercel hosting using the Vercel CLI. It emphasizes zero-configuration deployment: run the vercel command, link your project, and deploy. This streamlines publishing for quick releases and iterative development.
How This Skill Works
With the Vercel CLI installed and you are authenticated (vercel login), you run vercel in your project root. The CLI prompts you to link the project; once linked, it creates a deployment and provides a live URL. You can view logs with vercel logs if issues arise.
When to Use It
- Publishing a new web app to Vercel hosting
- Deploying from the project root with zero-configuration
- Automating deployments in CI/CD workflows
- Linking a local project to Vercel for the first deployment
- Verifying the deployment URL and diagnosing issues with logs
Quick Start
- Step 1: Run vercel in the project root
- Step 2: Follow prompts to link your project
- Step 3: Verify deployment at the provided URL
Best Practices
- Install and authenticate with the Vercel CLI before deploying (vercel login).
- Run vercel from the project root to ensure proper linking.
- Follow prompts to link the project and verify correct project association.
- Check the deployment status and error details using vercel logs when something goes wrong.
- Keep the Vercel CLI up to date (npm i -g vercel).
Example Use Cases
- Deploy a Next.js app to Vercel using the CLI.
- Publish a static site generated by Gatsby to Vercel.
- Deploy a simple HTML/JS site with zero configuration.
- Link a local project to Vercel and create a production deployment URL.
- Use vercel logs to diagnose a failed deployment and retry.
Frequently Asked Questions
Add this skill to your agents