deploy
What it does
Section titled “What it does”Runs pre-deploy checks, builds the project, uploads artifacts to the Mistflow API, and deploys to Cloudflare Pages. Returns the live URL.
| Parameter | Type | Required | Description |
|---|---|---|---|
projectPath | string | No | Path to the project directory (default: cwd) |
message | string | No | Deploy message (shown in dashboard) |
Deploy pipeline
Section titled “Deploy pipeline”- Pre-deploy checks — Validates the project builds cleanly
- Bundle — Bundles the build output (typically
dist/) - Upload — Sends the bundle to the Mistflow API
- Deploy — Mistflow pushes to Cloudflare Pages
- Verify — Confirms the deployment is live and reachable
The tool polls deployment status and returns progress updates as it goes.
Output
Section titled “Output”{ "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.