Deploy Code
Deploy the cloud hosting project code to the cloud hosting environment
For Cloud Hosting Code Project, you can refer to the sample: nodejs_hello_world
Basic Usage
Enter the following command to start interactive deployment. During this process, the CLI will automatically prompt you for information such as the service and environment to be published.
tcb cloudrun deploy
Advanced Usage
Manually specify relevant parameters to deploy:
tcb cloudrun deploy -e <Environment ID> -s <Service Name>
Command Line Parameters
The supported command line parameters are as follows:
Options:
-e, --envId <envId> Environment Id
-s, --serviceName <serviceName> Service name
--source <source> Directory path for cloud hosting code files. Default: current directory.
-h, --help Display command help information