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