Most projects on GitHub have a .gitignore
file that prevents generated or distribution files from being checked into version control. This makes sense as they are completely dependent on the source files used to generate them.
If you have ever wanted to quickly post a demo of a project on GitHub using the free GitHub Pages service without commiting distribution files you're in luck.
If you use npm scripts as your build tool you can quickly publish a demo with one line using gh-pages
from npm.
// Install Dependencies