Git and our Continuous Integration

There are two ways to use Git. Servebolt has a built-in Git integration. It lets you deploy code from the branch of your liking through the Control Panel with a single click, or even automatically deploy your committed code if you set up webhooks. The other way to use Git is via the command line.

Can I use CI tools?

Yes. They usually just depend on rsync / SSH and symlinks. Node.js is available on all Bolts and part of our Beta program so limitations are in place.

We also recommend using a service like Branch CI.  Branch is a deployment tool designed for WordPress developers. It’s CI/CD without a steep learning curve. There are no configuration files to learn and Branch has a dedicated Servebolt recipe to help you integrate easily. 

Can I change the webserver’s public/ folder?

Our Bolts are configured for ~/public/ to always be the public folder, but you can delete the physical folder and replace it with a symlink of your liking if your deployment tools run alternative folder structures.

What happens when I click “Git deploy”?

Clicking “Git deploy” will pull all files and folders from your Git repository to the default set ~/public/ folder in Servebolt. New files will be pulled while existing content/files will be overwritten.