Deploy Hugo Sites With Jenkins
Published at February 17, 2019 · 2 min read
I’ll describe how I do my Hugo-based blog updates with Jenkins, but it’s pretty similar to any other static site generator.
Pre-requirements
Jenkins installation is out of the scope of this post. Also, you need to have installed and configured Publish Over SSH plugin.
Also, I use Jenkins Job Builder (JJB) to configure Jenkins jobs from yaml file.
I’ll describe my blog-jobs.yaml config for my blog below.
Jenkins configuration
Views
If you have a lot of jobs or just want to group them by project, it makes sense to create a view:
...