Skip to content

deploy

Runs pre-deploy checks, builds the project, uploads artifacts to the Mistflow API, and deploys to Cloudflare Pages. Returns the live URL.

ParameterTypeRequiredDescription
projectPathstringNoPath to the project directory (default: cwd)
messagestringNoDeploy message (shown in dashboard)
  1. Pre-deploy checks — Validates the project builds cleanly
  2. Bundle — Bundles the build output (typically dist/)
  3. Upload — Sends the bundle to the Mistflow API
  4. Deploy — Mistflow pushes to Cloudflare Pages
  5. Verify — Confirms the deployment is live and reachable

The tool polls deployment status and returns progress updates as it goes.

{
"status": "live",
"url": "https://your-app.mistflow.app",
"deployId": "dep_abc123",
"duration": "12s"
}
  • Requires authentication. Returns an auth error if not logged in.
  • If the build fails, returns parsed errors with suggestions (same as debug-build).
  • Each deploy is recorded in the dashboard with logs, timing, and the deploy message.
  • If GitHub is connected, the code is also pushed to the linked repo.