cortex-command-community / Cortex-Command-Community.github.io

Website for the community project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Automate website builds

tomflenniken opened this issue · comments

Currently the process for updating the website is as follows.

  1. Clone the repo
  2. Install NPM etc
  3. npm i in the project root to install dependencies
  4. npm run build in the project root to webpack the site
  5. Copy assets from /build to /docs being careful not to remove 404.html or old static pages.
  6. Commit changes and get them onto master branch.
  7. 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.