deploy_site
Upload HTML, CSS, and JS files to get a unique CloudFront URL. Only new bytes are transferred, reducing upload time.
Instructions
Deploy a static site (HTML/CSS/JS) from inline file bytes. Files are staged to a temp directory, then uploaded via the v1.32 plan/commit transport — only bytes the gateway doesn't already have are PUT. Served at a unique URL via CloudFront. Free with active tier.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | Array of files to deploy. Must include at least index.html. | |
| target | No | Deprecated/unsupported: unified deploy v2 does not support deployment target labels. Passing this field returns an error. | |
| project | Yes | Project ID to link this deployment to |