Deploy

Deploy, status, logs, rollback, and engine commands

axhub deploy

Deploy apps and manage deployments.

FlagTypeDescriptionDefault
--explainbooleanExplain the local deploy spec from axhub.yaml without contacting the server

axhub deploy cancel

Cancel an in-progress deploy.

FlagTypeDescriptionDefault
--appstring
--deployment_idstring
--dry-runbooleanPreview only. Cancel is honored by the backend at deployment stage boundaries, so an in-flight build can take several minutes to flip to cancelled after --executetrue
--executeboolean

axhub deploy codes

Explain deploy status and error codes.

(no options)

axhub deploy create

Start a new deploy.

FlagTypeDescriptionDefault
--appstring
--commitstring
--dry-runbooleantrue
--executeboolean
--force-rebuildboolean
--no-retrybooleanDisable timeout auto-retry for this mutation

axhub deploy doctor

Diagnose an app's deploy setup.

FlagTypeDescriptionDefault
--appstring

axhub deploy explain

Explain how a deploy is resolved.

FlagTypeDescriptionDefault
--appstring

axhub deploy fleet

Deploy multiple apps at once.

FlagTypeDescriptionDefault
--appsstringComma-separated app slug/id list
--commitstringCommit SHA to deploy for every app
--concurrencyintegerMaximum apps deployed in parallel10
--dry-runbooleanDry-run preview is the defaulttrue
--executebooleanExecute all deployment mutations
--tenantstringTenant slug/id for diagnostics and future backend quota preflight

axhub deploy git

Manage auto-deploy (GitHub) settings.

axhub deploy git configure

Configure auto-deploy.

FlagTypeDescriptionDefault
--appstring
--branchstring
--dry-runbooleantrue
--executeboolean
--installation-idinteger
--repostring
--statestring
--updateboolean

axhub deploy git connect

Connect a repo for auto-deploy.

FlagTypeDescriptionDefault
--appstring

axhub deploy git disconnect

Disconnect auto-deploy.

FlagTypeDescriptionDefault
--appstring
--dry-runbooleantrue
--executeboolean

axhub deploy git status

Show auto-deploy status.

FlagTypeDescriptionDefault
--appstring

axhub deploy list

List deployments.

FlagTypeDescriptionDefault
--allboolean
--appstring
--ndjsonboolean
--pageinteger
--page-sizeinteger
--per-pageinteger

axhub deploy logs

View build and runtime logs.

FlagTypeDescriptionDefault
--appstring
--deployment_idstringLegacy deployment id. Runtime logs are now scoped to the app-level backend logs route
--followboolean
--limitintegerPage size (1-1000, default 100)
--reconnect-attemptsintegerPoll additional cursor pages this many times in follow mode0
--sincestringShow logs since this time (RFC3339)
--sourcestringAccepted for compatibility; app logs are not server-side filtered
--untilstringShow logs until this time (RFC3339)

axhub deploy rollback

Roll back to a previous deploy.

FlagTypeDescriptionDefault
--appstring
--dry-runbooleantrue
--executeboolean
--from-deploymentstring

axhub deploy status

Check deploy status.

FlagTypeDescriptionDefault
--appstring
--deployment_idstring
--watchboolean
--watch-intervalstringPoll interval such as 2s, 10s, 1m. Requires a unit suffix (s, m, h)
--watch-timeoutstringMaximum watch duration such as 30m, 1h. Requires a unit suffix (s, m, h)

axhub deploy watch

Watch a deploy until it finishes.

FlagTypeDescriptionDefault
--appstringApp id or slug
--deployment_idstringDeployment id to watch
--no-tuibooleanForce flat output. TUI support is reserved for a future visual pass
--reconnect-attemptsintegerRetained for compatibility (no-op for watch streaming). Unlike deploy logs, this does NOT keep the stream alive under a non-interactive/agent context — use --watch-interval/--watch-timeout for an explicit bounded stream. Polling otherwise continues until terminal status or timeout3
--sourcestringLog label: build, pod, events, pod-events, or all. Backend app logs are not source-filteredall
--watch-intervalstringStatus poll interval such as 2s, 10s, 1m. Currently used for validation/future TUI polling
--watch-timeoutstringMaximum watch duration. Defaults to 30m

axhub status

Check an app's current deploy status.

(no options)


axhub engines

View available build/runtime engines.

axhub engines list

List engines.

(no options)