- Plesk for Linux
- Plesk for Windows
How to link a remote Git repository to a domain in Plesk?
- Log into Plesk.
Go to Domains > example.com > Git.
Select Remote Git Hosting like GitHub and BitBucket and paste URL of the remote repository to the Remote Git repository field.
Note: if the URL of the remote repository is specified in the SSH format, the public SSH key which will appear in the field SSH public key must be added to the settings of the remote Git repository.
To select how changes will be deployed to a production site, click automatically deployed: and select a suitable option:
- Automatic deployment - files will be deployed to the production site as soon as they are pushed to the Plesk repository.
- Manual deployment - files have to be manually deployed to the production site after they are pushed to the Plesk repository.
- No deployment (repository hosting) - files will not be deployed to the production site.
Click OK button.