Automate website builds
tomflenniken opened this issue · comments
Currently the process for updating the website is as follows.
- Clone the repo
- Install NPM etc
npm i
in the project root to install dependenciesnpm run build
in the project root to webpack the site- Copy assets from
/build
to/docs
being careful not to remove404.html
or old static pages. - Commit changes and get them onto
master
branch. - Wait for pages to deploy the new assets.
This can be improved.
Github has CI/CD tools for automating build and deploy steps. I'm sure they have something that can either allow us to automate steps 2-6, or maybe even bypass steps 5 and 6 entirely by giving greater control over the Github Pages deployment process.