The content for the public-facing website for Azure Citadel
The site is currently hosted on Azure Static Web Apps, using GitHub actions to deploy, sitting behind Azure Front Door
Example commands for Ubuntu 20.04, run from the local directory for the cloned repo.
-
Install npm
sudo apt update && sudo apt install -y npm
-
Install the npm modules
npm install
-
Determine the Hugo version from the Dockerfile
-
Set the variable
hugo_version=0.90.1
-
Download the .deb file
hugo_binary=hugo_extended_${hugo_version}_Linux-64bit.deb wget https://github.com/spf13/hugo/releases/download/v$hugo_version/$hugo_binary
-
Install hugo
sudo apt install ./$hugo_binary -y
-
Remove the .deb file
rm $hugo_binary
hugo server