This repository contains the code necessary to create and deploy the 3ware Ltd company website.
3ware's website is hosted on GitHub Pages using Hugo to generate the static content from Markdown files.
The following resources were used to create this website:
- Hugo Quick Start guide
- Ananke theme tutorial
- Ananke example site
- Hugo: Host on GitHub
- GitHub Actions for Hugo
- Create 2 GitHub repositories. 1 for Hugo source content (www-src) and 1 for the static content Hugo generates (www-public).
- Follow the Hugo Quick Start guide to initialise the site and add the theme.
- Create GitHub pages in www-public, point it to /docs, set the Custom Domain and enforce HTTPS.
- Create a deploy key and add the public key to www-public.
- Create a GitHub Action repository secret in www-src using the private key from step 3.
- Create a GitHub Action in www-src to publish the site to www-public when a release is created www-src.