Deployment Procedures (Frontend)
Deployment Procedures (Frontend)
This guide explains how to build and ship the React web client generated by Lovable.dev to production.
1 — Preview / Dev Builds (Lovable Cloud)
- Push or commit changes in Lovable editor.
- Lovable automatically builds and hosts a preview URL (e.g.
https://plings--<branch>.lovable.space). - Share link with reviewers.
2 — Staging Deployment (Vercel)
- Merge PR into
stagingbranch. - GitHub Action triggers Vercel build (
vercel --prod --env-file=.env.staging). - Staging URL:
https://staging.plings.io.
3 — Production Deployment
- Approve PR → merge into
main. - CI pipeline builds static assets with
pnpm build. - Vercel deployment promotion or Lovable one-click publish to custom domain
https://app.plings.io. - Smoke tests run (
playwright test --project=prod-smoke).
4 — Rollback
- Use Vercel “Promote previous deployment” or Lovable “Revert” button.
Status: draft – exact host/provider names subject to change.