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
| Command | Purpose |
|---|
tcb app build | Build only, the output stays local |
tcb app deploy | Detect the framework, build, and upload the output, creating the app on first deploy |
Management
Static website hosting
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