-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.0为什么运行hexo deploy没有反应啊?(Hexo Deploy hanging in 3.0) #1154
Comments
已经找到原因了,:后面需要有一个空格,这个真变态。 (Translation: |
搞定了就close吧,并不是变态,yml就是这样而已 |
报告, 我有空格, 可是一直报错: Source: |
我也是3.0 |
因为现在并没有github这个type了- -,你需要首先安装hexo-deployer-git,然后将github修改为git= =。 |
|
赞 +1 |
我已经解决了,我是后面的冒号后面没有加空格。 |
我没搞明白你说的空格是什么意思?我按照你说的在deploy:后面加了空格,然后hexo clean,hexo generate,hexo deploy之后还是没有反应 |
@xiangfly11 yml对格式的要求是这样的 |
@Xuanwo 谢谢你,我已经解决了 |
赞赞赞,太坑了,就是冒号后少空格 。。。。 |
加上空格后依然没有反应,执行了hexo clean依然没有反应。。。。 |
@liu0fanyi 建议你开一个新的文件夹,顺序执行下列命令:
然后再按照要求修改yml文件 有相关疑问请开启新的issue,不要在已经关闭的issue下回复。 |
hexo真是各种麻烦,尤其是在windows上搭建,git客户端 都各种bug |
@liujianpc 请说清楚你的问题。 |
我的配置: deploy:
type: ftpsync
host: 192.168.0.155
user: root
pass: sz151fwe
remote: /home/wwwroot/default
port: 22 地址,密码什么的都是正确的,运行也没报错,但是运行完服务器那边还是没文件,运行时报的信息: F:\studio\73go.ef>hexo deploy
INFO Deploying: ftpsync
Setup
-------------------------------------------------------------
Settings:
{ local: 'F:\\studio\\73go.ef\\public\\',
host: '192.168.0.155',
port: 22,
remote: '/home/wwwroot/default',
user: 'root',
pass: 'sz151fwe',
connections: 1,
ignore: [] }
Setup complete.
Collecting
------------------------------------------------------------- 请问怎么解决?在线等,急,谢谢 |
thanks!@iqiancheng |
|
@Xuanwo 赞 |
@iqiancheng 谢谢, 有用 |
@iqiancheng 多谢 |
@iqiancheng 多谢~~ |
首先要确定_config.yml的deploy:后面有一个空格
如果还报错,应该就是没有装hexo-deployer-git。 |
我去。。。 找了好久。。 在这里找到原因了~~~ |
哈哈哈,解决了,谢谢!!! |
我已经解决啦,把.deploy文件删除掉,然后重新d就好啦 发自 网易邮箱大师 同楼上的问题,求解答! — |
in hexo 3.2, it is necessary to add following in the _config.yml:
I try again and again and failed, this almost drive me nuts, then I found that I should add these few lines. And hexo can recognise |
我的也是,在 deploy 时,输入用户名后就无限期等待了,我的配置如下: |
问题同上,deploy输入用户名密码后,基本上就是漫长等待了,偶尔几次人品好可以deploy成功。有什么解决方法吗 |
@solarjoker 请跨越万里长城 |
@Xuanwo 感谢解答,跨国长城之后问题依旧啊。@congyingTech求详细讲讲怎么解决的 |
@solarjoker 同楼上,长城早就跨越,但依然无法到达草原。。。。 |
如果跨版本升级过来的建议删除.deploy文件夹再试 |
终于找到解决方法了,空格大坑啊。谢谢 @chenhongbinjs ! |
+1 同样是空格问题 ==,搞了那么久== |
@iqiancheng 棒! |
由于git-deploy 在向github push 代码的时候是没有进度显示的,所以当你一次push 太多内容或者大量图片的时候,会感觉没有反应,这个有待改善。 |
@congyingTech 你的方法很有效,解决了,谢谢 |
@lukastong |
我 LeodeMacBook-Pro:hexo Leo$ hexo d
INFO Deploying: git
INFO Setting up Git deployment...
Initialized empty Git repository in /Users/Leo/Documents/hexo/.deploy_git/.git/
[master (root-commit) ef45468] First commit
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 placeholder
INFO Clearing .deploy_git folder...
INFO Copying files from public folder...
[master b8c1c68] Site updated: 2016-08-26 15:18:40
105 files changed, 16326 insertions(+)
create mode 100644 404.html
create mode 100644 CNAME
...
create mode 100644 wb_7531430f043e4fc5.txt
create mode 100644 webscan_360_cn.html 然后就一直卡在这没然后了? |
@iTofu 是的 |
如果一下子就好了,就是少了个空格的原因 |
昨天晚上没有任何问题,今天早上更新了一篇博文hexo |
你好,有个问题我找了好久都没有找到答案,不知道大家有没有时间帮我看一下: Error: read ETIMEDOUT |
空格、。。我的天 |
我是deploy到仓库出了问题 $ hexo generate $ hexo deploy |
@Dirwu 你是不是在配置那个repo的时候,没在冒号后面空格一下 再输入配置 |
确实需要空格,好坑啊 |
成功提示是什么? |
我最后出来个lo in 界面然后登入了,但还是没有成功上传 |
@Dirwu 我也是那个问题,请问你解决了么?怎么解决的? |
我是发现在你hexo的目录下,有多余的文件夹。然后删掉多余的文件夹就可以了 |
@definedw 请问你现在解决了嘛?我也是Error: read ETIMEDOUT的问题 |
我也出现d后没反应,最后发现是分支写错了 |
3.0为什么运行hexo deploy没有反应啊?
能不能详细介绍一下发布到github以及教程什么的?
The text was updated successfully, but these errors were encountered: