If you use Github to create a site and display it, there is no way to do it, because Github strictly says what it will handle - for security.
The workaround is to compile and process locally, and then output the result to gh-pages - which is happy to just post static pages.
You can still use github to host the project. You just don't use Github to compile it.
Your dev process could be:
- Check that you are a master and local match.
- Do your work in dev mode.
- Assembly in production.
- Use grunt or another program to minimize / uglify / etc working _site files - output to a separate dist (distribution) folder.
- Click the contents of the dist folder into your gh pages.
- Make changes to the project files back to the wizard.
I probably don't quite understand, but maybe this discussion can help more: https://gist.github.com/cobyism/4730490
Good luck
source share