Deploy a web frontend
lavela.provision_hostingDeploy a WEB FRONTEND (static, Vite, Next.js, Astro, SvelteKit, Remix) from GitHub to a live URL on a funded account. An app with its own server, or any app on the free welcome credit, deploys with lavela.provision_compute_from_repo (launch_saas's next_step says which). Async: poll lavela.get_status until hosting is active (check verified) or failed (next_step has the fix). Details: https://console.lavela.dev/docs/mcp#deploy-from-repo
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | Build-time env the app reads (exact names, e.g. NEXT_PUBLIC_SUPABASE_URL). Stored (encrypted) on the project: later redeploys keep using them — pass only keys you add or change. May reach the browser: no secrets. | |
| branch | No | Branch to deploy instead of the default — required (not a URL /tree/ suffix) for a name with "/". Remembered for later redeploys; "" = back to the default. | |
| subdir | No | Monorepo folder to deploy (e.g. "apps/web") — only that subtree. Remembered for later redeploys; "" = back to the repo root. | |
| framework | No | ||
| githubUrl | No | https://github.com/<owner>/<repo>[/tree/<branch>] | |
| projectId | Yes |