$ ❯ CrowderSoup

A website about programming, technology, and life.

node

Using Husky to Build Hugo Site

by Aaron Crowder on in Site Updates

I’ve been making some efforts to streamline the publishing process for this site. I’ve read about tools like Netlify and Lektor, but I wanted to keep things as close to a basic Hugo site as possible. To that end, I wanted to use git hooks to run hugo whenever I ran git commit. That way to publish a new post I simply had to write it in markdown, save, commit and push.

Read more...