This repository deploys through GitHub Actions using vercel-deploy.yml.
- Preview: Runs for every pull request and posts a preview URL as a PR comment.
- Production: Runs automatically on pushes to
main.
Set the following GitHub repository secrets:
VERCEL_TOKEN: Vercel access token with deploy permission.VERCEL_ORG_ID: Vercel organization/team identifier.VERCEL_PROJECT_ID: Vercel project identifier.
Define runtime values in Vercel (not GitHub) for each environment:
DATABASE_URLNEXT_PUBLIC_*values used by the application- Any API credentials required by server actions
- Open a pull request and verify
Vercel Previewpasses. - Confirm preview URL comment appears on the PR.
- Merge to
mainand verifyVercel Productionjob succeeds. - Validate health checks on production endpoint.
- Redeploy a previously known-good commit from Vercel dashboard, or
- Revert the problematic merge commit and push to
main.