wangzengdi's Blog

Functional Programming

0%

Hexo Workflow

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-source 分支,开发完成后,推导 github 仓库,会触发自动化部署,自动部署在 master 分支上生成最新的文档并部署。