HUGO boilerplate / Wowchemy Theme Emphasis / Netlify Builds

What it does

A collection of helper scripts and GitHub workflows to support HUGO builds for Netlify deployment.

Requirements

A POSIX operating system which includes Linux/macOS, sorry, Windows.

How do I install it?

To install the entire setup and fully integrate it copy and paste the code below.

For a full list of what this does, go to What does this install?

curl -fsSL https://raw.githubusercontent.com/ShoGinn/wowchemy-scripts/main/install.sh | bash

What does this install?

The folder structure is as follows:

๐Ÿ“ฆshoginn_scripts
 โ”— ๐Ÿ“‚bin
 โ”ƒ โ”ฃ ๐Ÿ“‚build
 โ”ƒ โ”ƒ โ”— ๐Ÿ“œhugo.sh
 โ”ƒ โ”ฃ ๐Ÿ“‚etc
 โ”ƒ โ”ƒ โ”ฃ ๐Ÿ“œ.env.sample
 โ”ƒ โ”ƒ โ”ฃ ๐Ÿ“œ.netlify.template
 โ”ƒ โ”ƒ โ”— ๐Ÿ“œ.replacements.template
 โ”ƒ โ”ฃ ๐Ÿ“‚functions
 โ”ƒ โ”ƒ โ”— ๐Ÿ“œshoginn_scripts.sh
 โ”ƒ โ”ฃ ๐Ÿ“‚lib
 โ”ƒ โ”ƒ โ”— ๐Ÿ“œ.gitkeep
 โ”ƒ โ”ฃ ๐Ÿ“‚netlify
 โ”ƒ โ”ƒ โ”— ๐Ÿ“œupdate_hugo_version.sh
 โ”ƒ โ”— ๐Ÿ“œsetup.sh

During the install, it creates the folder structure above; it then provides you the option to CTRL-C and not run the setup.sh

Setup.sh does what?

The setup file uses NODE (npm) and creates some shortcuts necessary to build your HUGO project and serve it locally.

What are the workflows?

The Workflows are there to prove the HTML from your build and if that passes then checks your git commits using the Google release-please action to create a version automatically

WARNING: THEY ARE NOT AUTOMATICALLY UPDATED!

If this is an important feature please check the release notes.