Automatic Deployments On Shared Hosting

Automatic Deployments On Shared Hosting

In this episode I’m going to show you how to setup automatic deployments on your shared hosting with #cPanel and #Git.

We are going to setup our process so that we have two sites, one is going to be used for production and another for staging. And then using Git we are going to configure post receive hook for our repository so that when master branch is pushed our files end up on Production site, and when the staging branch is pushed the files are going to end up on Staging site. As you will see this is a nice way to setup automatic deployments if you only have access to a shared hosting.

### Code used in this video

### You can support my work on Patreon

### Follow me on Social Media


9 thoughts on “Automatic Deployments On Shared Hosting

  1. A few days ago, the first time in my life, I have rent space on this shared hosting provider. I was puzzled because I knew about the deployment process only in theory. But you saved my day. Thank you a lot. You have a new subscriber 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *