kindstringrequiredsite · app · function.
labelstringrequiredThe name a person reads.
slugstringThe first part of the address. Derived from the label otherwise.
{ id: "host", type: "hosting.create", config: { kind: "site", label: "{{input.name}}" } }{"id": "host", "type": "hosting.create", "config": {"kind": "site", "label": "{{input.name}}"}}Output
{{steps.host.output.host}} // the slug
{{steps.host.output.url}}
{{steps.host.output.certificate}} // "none" | "pending" | "active""{{steps.host.output.host}}" # the slug
"{{steps.host.output.url}}"
"{{steps.host.output.certificate}}" # "none" | "pending" | "active"An address that is not ready yet
Not an outage — a wait. A chain that creates a host and immediately fetches it will fail. Put a wait step between them, or check the certificate before relying on the address.
Creating is not publishing
Nothing is online yet, so no approval is required here. hosting.deploy is the step that publishes, and that one needs a human upstream.
The plan decides how many
A plan with no hosting refuses the creation, naming the plan. Worth knowing before a chain is built around it.