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/organizationorproject, your code must be respectively pushed inmasterorgh-pagesbranch (see gh page doc here).http://flukus.github.io/->masterhttp://flukus.github.io/myproject->gh-pagesSetup you github configuration (or other hoster) in you
_config.ymllike described here.Additionally you'll have to create an empty
.nojekyllfile at the root of your repository to instruct Github pages not to process you site as a Jekyll site.hexo generate --deploywill then do it well.