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:
We can use plugins
It prevents accidental merging to master when not built locally.
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: