Deployments / Git & Preview Branches

Git & Preview Branches

Push to deploy production automatically, and test every feature branch on its own isolated preview URL.

Production vs Preview URLs

Each project has a configured production branch (commonly main). Pushes to that branch build and promote to your production endpoint.

Branch TypeGenerated URLBehavior
Production branchhttps://<slug>.weond.appUpdates primary live deployment and custom production domains.
Feature / preview branchhttps://<slug>--<branch>.weond.appIsolated preview script; does not affect production traffic.

You can enable or disable automatic preview deployments, configure monorepo Root Directory + changed-path build filtering, and enable Preview Deployment Protection (Password, Workspace Member SSO, or both on Pro, Team, and Scale) per project in Project Settings. Preview Edge Pages and Edge Functions are included on all tiers; preview Edge Containers run on Pro, Team, Scale, or Free workspaces with prepaid Credits.

Manual deployments, rollbacks, cancel & cleanup

  • Queue deployment: Trigger a fresh build from the dashboard or via weoc deploy [slug] (uses the linked project in .weond.json when [slug] is omitted).
  • Redeploy: Rebuild any previous deployment directly from the Deployments history list.
  • Instant rollback & promote: Promote any previous completed deployment back to production with zero downtime from Deployment Details or via weoc rollback <deployment-id> [-p <slug>].
  • Cancel build: Stop an in-progress or queued build directly from Deployment Details before it reaches production.
  • Clean deletion: Deleting a project permanently removes its deployed edge functions (production and preview branches), custom hostname bindings, routing entries, and deployment records so nothing stays active in the background.