I'm finally getting around to migrating my blog to some markdown goodness and hexo seemed to be the best option for me. I seem to be missing something about the workflow from hexo project to github pages though.
Should the hexo project live in one repo and then publish the generated content to a separate pages repo? Or is there some other mechanism (like branching) that should be used?
The former seems to be the most likely but I thought I'd ask first. Sorry if it seem s obvious, I may have confused myself reading about jekyll etc earlier.
Depending of the type or site your deploying :
user/organization
orproject
, your code must be respectively pushed inmaster
orgh-pages
branch (see gh page doc here).http://flukus.github.io/
->master
http://flukus.github.io/myproject
->gh-pages
Setup you github configuration (or other hoster) in you
_config.yml
like described here.Additionally you'll have to create an empty
.nojekyll
file at the root of your repository to instruct Github pages not to process you site as a Jekyll site.hexo generate --deploy
will then do it well.