J1149 / j1149.github.io

J1149.com
MIT License
2 stars 5 forks source link

Build locally / track _sites in master #26

Open alexwaters opened 5 years ago

alexwaters commented 5 years ago

Currently, we have github-pages running the site via jekyll serve where it builds static files. It would be better to move _sites into the master branch and move the build code into a development branch.

This would change the development flow such that feature branches are branched from the 'dev' branch, pull requests are made to the 'dev' branch, they are built locally, then the _sites pages is updated in the 'master' branch. This adds an additional step to the integration process but in exchange:

  1. We can use plugins
  2. It prevents accidental merging to master when not built locally.