生成后,github中的Hexo部署卡住了

时间:2015-05-14 10:20:22

标签: github deployment hexo

我输入hexo deploy后无法将我的hexo部署到github。

它将在.deploy文件夹中创建许多文件,但随后shell窗口将被卡住。

我不知道是什么问题。

有人可以帮助我吗?

谢谢

1 个答案:

答案 0 :(得分:1)

你能否添加由hexo生成的错误消息?

按照此步骤,它应该工作:
1.使用npm install hexo-deployer-git --save安装hexo-deployer-git 2.编辑在你的己基_config.yml(不是主题的_config.yml)中:

deploy:
    type: git
    repo: <repository url>
    branch: [branch]
    message: [message]
  1. 运行hexo clean
  2. 运行hexo generate --deploy