tb deployment¶
Deploys your project to the Tinybird platform. Run using --cloud
to deploy to Tinybird Cloud.
The following subcommands are available:
Subcommand | Description |
---|---|
create [OPTIONS] | Validates and deploy the project in Tinybird. |
ls | Lists all the deployments of your project. |
promote | Promotes last deploy to ready and remove old one. Accepts the --wait / --no-wait option. |
rollback | Rollbacks to the previous deployment. Accepts the --wait / --no-wait option. |
tb deployment create¶
Validates and deploys the project in Tinybird. Run using --cloud
to deploy to Tinybird Cloud.
You can also tb deploy
as an alias of tb deployment create
.
Option | Description |
---|---|
--wait / --no-wait | Waits for the deployment to finish. Defaults to not waiting. |
--auto / --no-auto | Automatically promotes the deployment. Only works if --wait is used. |
--check / --no-check | Validate the deployment before creating it. Disabled by default. |
--allow-remove-datasources / --no-allow-remove-datasources | Allow removing data sources from the deployment. Disabled by default. |
Removing data sources is an irreversible operation. Be careful when using the --allow-remove-datasources
flag.