Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
Quick Start
Create a new post
1 | $ hexo new "My New Post" |
More info: Writing
Run server
1 | $ hexo server |
More info: Server
Generate static files
1 | $ hexo generate |
More info: Generating
Deploy to remote sites
1 | $ hexo deploy |
Generate & Deploy together
1 | $ hexo d -g |
More info: Deployment
Hexo 自动化部署
- 官方自动化部署文档 – Hexo + Travis: https://hexo.io/docs/github-pages.html
- 空白页问题的解决方案:http://magicse7en.github.io/2016/03/27/travis-ci-auto-deploy-hexo-github/
自动化部署工作流:
本地开发使用 hexo-source 分支,开发完成后,推导 github 仓库,会触发自动化部署,自动部署在 master 分支上生成最新的文档并部署。