empowerhack / DrawMyLife-Website

A website showcasing the Draw My Life initiative, partnerships and team
http://drawmylife.org/
2 stars 1 forks source link

Fix conflicts between React/Jekyll build process & GitHub Pages #66

Closed krissy closed 7 years ago

krissy commented 7 years ago

Why

The build process has been broken since deploying to GitHub Pages, blocking work on this. This is most likely because the deployment method chosen for GitHub Pages did not allow the Jekyll source directory to be overridden from the root directory.

Jekyll was also handling sass compilation which was a bit weird considering we have Webpack for that sort of thing.

(Also, docs on the Internet are conflicting and messy and I'm easily confused! :S)

Solution

GitHub Pages also allows us to specify a specific subfolder called docs in the master branch to build from rather than having to rely on a gh-pages branch. See here

Also, give Webpack more asset compilation work.

Tasks