I currently run a static site on GitHub Pages and enjoy the workflow, but I’d like to try a self-hosted solution. I’m currently imagining running Gitea + Hugo on a small VPS. Can Gitea kick off a Hugo build upon receiving an update to the master branch?
1 Like
There are a couple options you could do:
- If self-hosting is not a 100% requirement, I personally found connecting gitea & netlify very helpful for building and hosting my sites.
- Githooks could be run on receiving commits via push (you’ll need additional logic for checking if branch is master)
- use a CI, such as DroneCI, to build & deploy your site
Re: Option 3 please check out…