hexojs / hexo

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

Multiple Deployment not working? #613

Closed daxiawj closed 10 years ago

daxiawj commented 10 years ago

@tommy351

Hello, I saw that hexo can do batch deployment with one config at http://hexo.io/docs/deployment.html#Batch_Deploy

But with my config:

deploy:
-  type: github
   repo: https://github.com/daxiawj/daxiawj.github.io.git
-  type: github
   repo: https://gitcafe.com/daxiawj/daxiawj.git
   branch: gitcafe-pages

It tells

You should configure deployment settings in _config.yml first!

Available Types:
  git, github, heroku, openshift, rsync

For more help, you can check the online docs: http://hexo.io/

if the config changed to

deploy:
   type: github
   repo: https://github.com/daxiawj/daxiawj.github.io.git
   type: github
   repo: https://gitcafe.com/daxiawj/daxiawj.git
   branch: gitcafe-pages

then it will only deploy to gitcafe.

I'm running latest version of node.js and hexo. Thanks!

tommy351 commented 10 years ago

Duplicated #611

daxiawj commented 10 years ago

Sorry, couldn't find my previous post #611, so I thought I didn't post it successfully. Sorry again.