Git deployment
Deploy your application code from a Git repository.
Git Deployment lets you deploy your application code from a Git repository onto a TurboStack host.
Opening the GIT tab
- Go to the Applications tab of your host.
- Open the settings for the application you want to deploy to.
- In the Configure application dialog, select the GIT tab.
Adding a Git integration
- Select Add GIT integration.
- In Git Settings, configure the integration:
- Save your changes.
You can add multiple repositories to a single application by repeating these steps.
Private repositories over SSH
For private repositories accessed over SSH, the server must be able to authenticate to the repository.
- Save or generate the system user's SSH keys on the server - a notice in the GIT tab reminds you to do this.
- Add the resulting public key to your Git provider as a deploy key.
- Configure the Git integration with the SSH repository URL.
Important
Without the system user's SSH keys saved on the server, deployments from private repositories over SSH will fail to authenticate.
Tip
Use a dedicated branch for deployments so you control exactly what reaches the server.
Related
- Applications
- Versioned releases with a symlink layout - atomic deploys and rollback from CI/CD.
- SSH
- Credentials
- Hosts