Connecting a site to a Github Git repository

Sites can be connected to a Git repository and automatically kept in sync.

In order to do this look up your site in ServerWand, go to the Apps tab and click Git Repository.

You'll then be prompted to enter the git HTTPS URL for your repository e.g.

The repository will then be cloned and you will be given an SSH key and Webhook URL.

These can be used for automatic deployments whenever you push to the master branch.

You can set the webhook URL in the repository Settings Webhooks -> Add Webhook:

Then you're done!

Any changes you make to the master branch of the repository will be reflected on the website within a minute or so of pushing them.