Deploy a site
deploy_siteUploads files and makes them live on a {subdomain}.runlitehost.com address. Without a siteId it creates a new site (name is required; the subdomain is derived from it unless given); with one it updates that site. Deployment is atomic: every file goes live or none does, and the files sent become the whole site: a live file not among them is removed. A root index.html is required, and a deploy carries at most 200 files and 4 MB in total. A new site counts against the plan's site limit, and past it the result is quota_exceeded. Only website files are accepted (no programs, installers or archives). Pages with password, card, one-time-code, PIN or wallet-phrase fields are refused unless the site has its own custom domain (a paid plan). When the monthly deployment allowance is used up, the files are saved as a draft and published is false.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Required when creating. | |
| files | Yes | ||
| siteId | No | Omit to create a new site. | |
| message | No | Shown in deployment history. e.g. "Added catering page" | |
| subdomain | No | Requested subdomain. Derived from name if omitted. |