hexojs / hexo

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

[求助]hexo 3.1.1.1 同时deploy 到github 和gitcafe 失败 #1782

Closed QiJunHu closed 8 years ago

QiJunHu commented 8 years ago
deploy:
   type: git
   repo: 
     git@github.com:QiJunHu/QiJunHu.github.io.git 
     git@gitcafe.com:QiJunHu/QiJunHu.git,gitcafe-pages

clean 和generate 都ok ,就是deploy 时失败 错误信息:

fatal: remote error: is not a valid repository name Email support@github.com for help FATAL Something's wrong. Maybe you can find the solution here: http://hexo.io/docs/troubleshooting.html Error: fatal: remote error: is not a valid repository name Email support@github.com for help

at ChildProcess.<anonymous> (D:\Users\HexoBlog\node_modules\hexo-deployer-git\node_modules\hexo-util\lib\spawn.js:37:17)
at emitTwo (events.js:87:13)
at ChildProcess.emit (events.js:172:7)
at ChildProcess.cp.emit (D:\Users\HexoBlog\node_modules\hexo-deployer-git\node_modules\hexo-util\node_modules\cross-spawn\node_modules\cross-spawn-async\lib\enoent.js:37:29)
at maybeClose (internal/child_process.js:821:16)
at Socket.<anonymous> (internal/child_process.js:319:11)
at emitOne (events.js:77:13)
at Socket.emit (events.js:169:7)
at Pipe._onclose (net.js:469:12)
Xuanwo commented 8 years ago

注意正确的格式:

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

have you solved this problem ? I meet the same situtation, I was at a mess, I googled it but I didn't find the answer

NoahDragon commented 7 years ago

@Eugene1024 Please post your config file.