Agent tools

deploy

deploy({ action, host?, kind?, label?, path?, server?, code?, … })

Put a site, an app or a function online. Every publication is approved by the user, in every mode — and it deploys, it does not build.

read, or publishasked in full toobuild first
Using Python?

Switch any code block to Python: the choice applies to every page. Python SDK guide and resource reference.

The actions

Free (read)Asked (publish)
kinds · list · getcreate · push
history · usagerollback · remove
—domain · undomain
—rename — category storage, not publish

rename changes the label the user reads and nothing else: the address is fixed at creation, because a URL that moves is an outage for whoever already has the link. It is the one action here that does not publish, so it does not carry the publish category.

It deploys, it does not build

Build with bash or a terminal first

push sends a folder. Pointing it at a source directory publishes sources; pointing it at a build output publishes a site. The tool says so in its own description because the mistake is silent — the deploy succeeds.

Three kinds

kindIs
siteFiles, served as they are
appFiles plus a server module, named with server
functionA module, passed as code

The certificate is what makes you wait

A new level of address gets its own certificate, and until it is active the connection fails — which looks like a broken deploy. The hosting topic of iagenify_docs says so, and the agent is told to read it before its first deploy.

Some things are never published

Environment files, version-control folders and dependency folders are dropped, and what was dropped is reported. An app's server module is pulled out of the assets, so its source is not served.