hexojs / hexo

A fast, simple & powerful blog framework, powered by Node.js.
https://hexo.io
MIT License
39.54k stars 4.86k forks source link

加了空格,deploy仍然没有反应 #1531

Closed ghost closed 9 years ago

ghost commented 9 years ago

加了空格,deploy仍然没有反应

ghost commented 9 years ago

以前的评论看了很多,还是没有解决,不知为何?

ghost commented 9 years ago

deploy: git: github repo: https://github.com/greying/greying.github.io.git branch: master

ghost commented 9 years ago

can anybody help me?

ghost commented 9 years ago

have entered the space in the _config.yml, then "hexo generate" is ok, but"hexo deploy", no response, what the hell? I tried 2 days, it still doesn't work!!!.... I even want quit the Hexo, help me OK?

lslsby commented 9 years ago

npm install hexo-deployer-git 试试!

发自我的 iPhone

在 2015年10月5日,16:41,greying notifications@github.com 写道:

have entered the space in the _config.yml, then "hexo generate" is ok, but"hexo deploy", no response, what the hell? I tried 2 days, it still doesn't work!!!.... I even want quit the Hexo, help me OK?

— Reply to this email directly or view it on GitHub.

ghost commented 9 years ago

@lslsby 这个已经试过了,依旧无效

leobbb commented 9 years ago

hexo d 之后输出是什么?输出为空?

ghost commented 9 years ago

@leobbb 输出为空,然后出现$,让我输入命令

leesei commented 9 years ago

hexo generate 有看見public/嗎? post 一下你的_config.yml

younglaker commented 9 years ago

格式应该是这样吧?

deploy:
  type: git
leesei commented 9 years ago

對, 請參考 https://github.com/hexojs/hexo-deployer-git

ghost commented 9 years ago

@younglaker @leesei 谢谢大家,始终弄不出来,等Hexo更适合菜鸟了,我再玩玩吧!

ghost commented 9 years ago

最后试了一下,成功了! deploy: type: git repository: git@github.com:greying/greying.github.io.git branch: master

younglaker commented 9 years ago

@greying

这是我折腾Hexo3的一些心得,供参考: http://laker.me/blog/categories/Hexo/ 欢迎交流~

ghost commented 9 years ago

@younglaker 实在是谢谢!帮助真的很大!!!

leesei commented 9 years ago

@younglaker 這裡說道"Hexo不支持同时多个托管仓库" 你有跟著這個格式配置嗎?

deploy:
  type: git
  message: [message]
  repo: 
    github: <repository url>,[branch]
    gitcafe: <repository url>,[branch]
ghost commented 9 years ago

@leesei 已经弄好了!就是那个格式

leesei commented 9 years ago

行, 你一開始用的是舊版本config

我回是想提醒一下@younglaker 更新文檔 可能他測的時候功能還未完善

younglaker commented 9 years ago

@leesei 感谢,已修正~

BTW:是“她” (_^_^)

akreturn commented 8 years ago

@greying 我出现和你一样的问题,但是我修改了repository的形式还是不行

ghost commented 8 years ago

@akreturn 看评论,后来我那个方法成功了

kookob commented 8 years ago

type冒号后面要加空格。 还有一个地方就是deploy下面type、repository、branch这几个前面也要加空格。 加上之后,hexo deploy就成功了。