Advanced server configuration
When configuring a server in your project, you can adjust a number of useful Deployment Options:
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.
User Permissions
If you've provided a user access to a specific project and not enabled the permission for User can deploy to any server or group?, you can add individual permissions to the user for a given server or server group within the User Permissions area:
Any users with global, or full project-level access to this particular project will not be editable here.