Deploy Static Site from HTML
deploy-static-site-from-htmlDeploy static website from HTML content by creating a storage bucket, uploading the HTML, and provisioning a VM with nginx to serve it.
Instructions
Create a bucket, upload HTML, and provision a VM that serves the bucket content via nginx.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"zone": "<zone>",
"vmName": "<vmName>",
"bucketName": "<bucketName>",
"htmlContent": "<htmlContent>"
},
"name": "deploy-static-site-from-html"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zone | Yes | Zone for the VM (e.g., us-central1-a) | |
| vmName | Yes | VM name | |
| projectId | No | Project ID (optional) | |
| bucketName | Yes | Bucket name | |
| htmlContent | Yes | HTML content to deploy |