A collection of helper scripts and GitHub workflows to support HUGO builds for Netlify deployment.
A POSIX operating system which includes Linux/macOS, sorry, Windows.
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
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
The setup file uses NODE
(npm) and creates some shortcuts necessary to build your HUGO project and serve it locally.
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.