Skip to Content

Vercel Deployment

Vercel is the primary deployment target for cur8d, providing native support for Next.js App Router, Server Components, dynamic streaming, and Edge Middleware.

Automated CI/CD Deployment

The repository includes a pre-configured GitHub Actions workflow in .github/workflows/deploy.yml:

  • Production Deployment: Triggered automatically on push to main (ignoring changes confined to docs/**).
  • Preview Deployments: Can also be triggered on-demand via GitHub Actions workflow_dispatch selecting the vercel provider and preview environment.

Setting up Secrets in GitHub

To enable automated deployments via GitHub Actions:

  1. Generate an Access Token in your Vercel Account Settings.
  2. Add VERCEL_TOKEN to your repository secrets (Settings > Secrets and variables > Actions).

Local Deployment via mise

You can trigger a Vercel build and deployment directly from your terminal:

# Preview deployment export VERCEL_TOKEN="your_token" export VERCEL_ENV="preview" mise run deploy:vercel # Production deployment export VERCEL_ENV="production" mise run deploy:vercel

Configuration

Project settings and overrides are maintained in vercel.json.

Last updated on