deploy_website
Deploy static websites to the Demox platform by uploading ZIP files or directories, which are automatically packaged and hosted on cloud storage.
Instructions
部署静态网站到 Demox 平台。仅支持 ZIP 文件或目录,系统会自动上传到云存储并部署。
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zipFile | Yes | ZIP 文件路径或目录路径。支持:1) 本地 ZIP 文件(如 ./dist.zip) 2) 本地目录(如 ./dist)- 自动打包成 ZIP 3) HTTPS URL(必须以 .zip 结尾)。**不支持 base64 内容**。 | |
| websiteId | No | 网站 ID(可选)。如果不提供,将创建新网站;如果提供,将更新现有网站 | |
| fileName | No | 网站名称,用于标识和展示。如果不提供,会自动使用目录或文件名 |