[关闭]
@breakerthb 2017-03-18T07:11:30.000000Z 字数 443 阅读 1480

GitHub部署Hexo

Hexo GitHub Blog


1. 创建代码仓库

在GitHub上创建一个代码仓库,命名为:

your_user_name.github.io

创建过程中点击“Initilize and create README”,创建一个README.md文件。

2. Hexo实现&调试

Hexo Blog

3. 部署

3.1 GitHub

找到Deployment修改如下:

https://github.com/name/name.github.io.git

注意,repo地址一定是github上的仓库地址。这样才能把部署目录内容上传到github上。

发布过程中会要求输入github用户名和密码。

最后,在浏览器中通过以下URL进行查看:

http://your_user_name.github.io/

注意换成自己的用户名。

3.2 其他服务

添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注