➔ How to Automate Hostinger Deployments with Git Subtree and Webhooks
| 4 minute read
Hostinger Automation with Git
Hostinger is a great and cheap hosting platform for static websites. I currently use the web hosting plan to host several websites. To deploy my website changes, I export my static content (html, css, js) into a zip and unzip it in the file manager’s public_html folder. This is a little cumbersome so I looked for a way to automate this.
Fortunately this can be done easily. Hostinger has an official tutorial for deploying git repos here.
However, this step alone won’t work on my web apps built with frameworks such as React, Next, and Hugo. I need another automation step.