Skip to main content

tcb app

Targets framework applications that need a build step: detect the framework, build, upload the output, and bind routes. When the output is already static, upload it directly with tcb hosting in the same group.

Command index​

Deployment​

CommandPurpose
tcb app buildBuild only, the output stays local
tcb app deployDetect the framework, build, and upload the output, creating the app on first deploy

Management​

CommandPurpose
tcb app listList apps
tcb app infoShow app details and the access domain
tcb app versions listList published versions
tcb app versions detailShow details of a specific version
tcb app deleteDelete an app

Static website hosting​

CommandPurpose
tcb hosting deployUpload a file or directory to the static website, with optional verification, rollback, and remote cleanup
tcb hosting detailShow the hosting status and access domain
tcb hosting listList cloud files
tcb hosting deleteDelete a cloud file or directory

Notes​

  • tcb app deploy supports vite, next, static and other frameworks; override the build with --framework, --build-command, and --output-dir
  • Both paths land on static hosting; the difference is whether the deploy builds first: tcb app deploy builds and uploads, while tcb hosting deploy only uploads
  • Path syntax, enabling the service, and upload limits are covered in Paths and limits