Skip to main content

Unity Build Automation

In your Dashboard, navigate to DevOps > Build Automation > Configurations and create a new configuration.

In the advanced settings for your new configuration, you can set environment variables.

As an example, try setting the following environment variables:


In the repository you've configured for your services, create a new .sh file that will contain your UGS CLI commands. Then, in your new configuration's advanced settings, set a script hook with the name of the .sh file. There are two fields pre-build which lets you execute your file before building, or post-build which executes your file after building.

Example content for the .sh file:

ugs --version
ugs config get environment
ugs status
ugs env list
ugs deploy <directory-with-service-configurations> -j