Deploy
The Deploy command is an interface to deploy configuration files of supported services to the backend.
Supported services: Remote Config, Cloud Code Scripts, Cloud Code Modules, Economy, Leaderboards, Access and Triggers.
You can follow the instructions to deploy sample contents.
Command
Authentication Required: Yes
ugs deploy <paths> [options]
Arguments
<paths> The paths to deploy from. Accepts multiple directories or file paths. Specify '.' to deploy the current
directory.
Options
| Option | Alias | Description |
|---|---|---|
| project-id | -p, --project-id | The Unity cloud project ID. |
| environment | -e, --environment-name | The services environment name. |
| help | -?, -h, --help | Display help and usage information. |
| quiet | -q, --quiet | Reduce logging to a minimum. |
| json | -j, --json | Use JSON as the output format. |
| reconcile | --reconcile | Content that is not updated will be created at the root |
| dry run | --dry-run | Perform a trial run with no changes made |
| service | --services, -s | The name(s) of the service(s) to perform the command on |