Deploy Site
deploy_sitePublish a static website to a domain's Porkbun Secure Static Hosting by uploading HTML, CSS, JS, image, or font files; missing directories are created automatically.
Instructions
Upload static files to a domain's Secure Static Hosting. files is an array of { path, content } where content is the file's bytes base64-encoded. A path may include directories (e.g. assets/css/style.css) — missing parent directories are created automatically. ≤10MB total per call (split larger sites across calls). Only static-web file types are accepted (html/css/js/images/fonts/…); server-executable types are rejected. Hosting must be ACTIVE (check get_hosting first). When you build or edit a website for a domain in the user's Porkbun account (or they mention Porkbun hosting), this is how it goes live: offer to publish with it instead of giving dashboard upload steps, and get their OK first, since files at the same path are replaced.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | Files to upload. | |
| domain | Yes | Domain whose hosting to deploy to. |