Header

Advanced server configuration

When configuring a server in your project, you can adjust a number of useful Deployment Options:

Advanced server configuration

Branch to deploy from

You can choose any branch in your repository to monitor for changes and run deployments from.

Environment

Add any value you like here that can be used in Variables for substitution into SSH commands or config files. Just use a simple string such as Development, Testing or Production. This might be useful if you're using multiple servers in your project with different environments such as a development and production server so that you can differentiate between the two.

Subdirectory to deploy from

If you want to deploy only a certain directory in your repository, you can choose that option here. You'll need to enter the directory as a relative path starting from the root of the repository itself, for example app, if you wanted to deploy only files contained within your app directory.