backend_deploy
Deploy a spec's Supabase backend with tracked migrations, secrets, auth, legal build, and functions; dry_run previews the plan by default, live deploy needs approval.
Instructions
Deploy the spec's Supabase backend (LIVE unless dry_run): migrations (tracked), secrets (AI_MODEL, AI_FALLBACK_MODEL, caps, REQUIRE_CONSENT, RC_PROJECT_ID from app outputs, RC_SECRET_KEY
FAL_KEY from config — reported by name only), auth (anonymous + Sign in with Apple + manual linking), legal build, and the function set (analyze, usage-status, delete-account, legal, rc-webhook). dry_run=true (default) returns the plan without any call; a live deploy needs human approval.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_dir | Yes | ||
| dry_run | No | ||
| approval_id | No | ||
| project_ref | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||