Make Hosting Dir
make_hosting_dirCreate an empty directory, with any missing parents, in a domain's Porkbun Secure Static Hosting space. Use it when you need an explicit folder before deploying files.
Instructions
Create a directory (and any missing parent directories) at path in a domain's Secure Static Hosting space. deploy_site already auto-creates the directories in a file's path, so use this only to stand up an empty directory explicitly. Calls the Porkbun Hosting API (https://porkbun.com/llms/hosting).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Directory path to create, e.g. `assets/img`. | |
| domain | Yes | Domain whose hosting to create the directory in. |