Skip to main content

tcb deploy

tcb deploy reads cloudbaserc.json from the project root and rolls out functions, static hosting, gateway routes, and database migrations in dependency order, without calling each single-resource command.

Command index​

Configuration​

CommandPurpose
tcb config initGenerate cloudbaserc.json interactively
tcb config pullPull resource configuration from the cloud into the local file
tcb config diffCompare local and cloud function configuration
tcb config updatePush local configuration to the cloud

Deployment and validation​

CommandPurpose
tcb validateValidate configuration structure, resource directories, and references
tcb deployRoll out functions, static hosting, gateway routes, and database migrations

Reference​

DocumentContent
Configuration fileFields, dynamic variables, and complete examples of cloudbaserc.json

Notes​

  • Run tcb config init first when cloudbaserc.json is missing
  • Run tcb validate before deploying so configuration errors surface early, without half-created resources
  • tcb deploy deploys only, it never builds; generate frontend output with tcb app build first, see Declarative deployment