tb deploy

The tb deploy command is an alias of tb deployment create --wait --auto. Use tb deploy to create and promote a deployment to the Tinybird platform.

For example:

Deploy a project
tb deploy    
Running against Tinybird Local

» Changes to be deployed...

-----------------------------------------------------------------
| status   | name         | path                                |
-----------------------------------------------------------------
| modified | user_actions | datasources/user_actions.datasource |
-----------------------------------------------------------------

✓ Deployment submitted successfully
Deployment is ready
Setting candidate deployment as live
Removing old deployment
Deployment promotion successfully started
Deployment promoted successfully

Options

OptionDescription
--wait / --no-waitWaits for the deployment to finish. Enabled by default.
--auto / --no-autoAutomatically promotes the deployment when it's ready. Enabled by default.
--checkValidates the deployment before creating it. Disabled by default.
--allow-destructive-operations / --no-allow-destructive-operationsAllows destructive operations, like removing data sources. Disabled by default.
--template TEXTURL of a Tinybird project template to deploy.
-v, --verboseShows verbose output. Disabled by default.

See tb deployment for more information.

Environment support

EnvironmentSupportedDescription
--local✓ Yes (default)Deploys to Tinybird Local.
--cloud✓ YesDeploys to Tinybird Cloud.
--branch=BRANCH_NAME✓ YesDeploys to a branch.
Updated