Hexo
Put blog source code to anywhere but github pages’ master branch.
NexT
Add NexT to blog as git submodule.
And change the scheme in themes/next/_config.yml (optional)
1 | # --------------------------------------------------------------- |
Github Pages
Update _config.yml
1 | deploy: |
Deploy
1 | npm install hexo-deployer-git --save # once |