Skip to content
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

Multiple Deployment not working? #611

Closed
daxiawj opened this issue May 8, 2014 · 1 comment
Closed

Multiple Deployment not working? #611

daxiawj opened this issue May 8, 2014 · 1 comment
Labels
bug Something isn't working

Comments

@daxiawj
Copy link

daxiawj commented May 8, 2014

I am using the most updated version of node.js and hexo, and I'd like to deploy my blog into both github and gitcafe. According to the document, the configuration like the following should be working:

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

while this does not work. Hexo says:

You should configure deployment settings in _config.yml first!

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

If I change the config 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 the last one--gitcafe but not github.

Is any thing wrong here in my config or just there is a bug here?

Thanks!

@tommy351
Copy link
Member

tommy351 commented May 9, 2014

This is a bug. It'll be fixed in the next version.

zhipengyan pushed a commit to zhipengyan/hexo that referenced this issue Apr 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants