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

i have configured the deployment settings to deploy to both github and gitcafe but it does not work #953

Closed heytxz closed 9 years ago

heytxz commented 9 years ago

hexo d here is the info:

[info] Start deploying: git
You should configure deployment settings in _config.yml first!

Example:
deploy:
type: git
message: [message]
repo:
github: 
gitcafe:

this is my configure:

deploy:
type: git
repo: 
github: ~,master
gitcafe: ~,gitcafe-pages 

here is the doc

Git

Edit `_config.yml`

deploy:
  type: git
  message: [message]
  repo:
    github: <repository url>,[branch]
    gitcafe: <repository url>,[branch]
Option  Description
repo, repository    Repository URL and branch. Separated with a comma (,). The branch is master by default.
message Customize commit message (Default is Site updated:)
xing5 commented 9 years ago

Your repo is empty. It should be the repo url when you push your updates.

heytxz commented 9 years ago

That repo is not empty... I wrote down the right url. When I push updates to github it works. But when I add the repo of gitcafe it doesn't work. It seems that the config doesn't exist. I feel confused about it.

xing5 commented 9 years ago

Gitcafe is not supported yet, you may want to take a look at https://github.com/hexojs/hexo/pull/927.

heytxz commented 9 years ago

thank you. i have read the #927 but it couldnot solve my question. if i only add gitcafe and set type github, it works. what i want to tell you is that it does not work when i add the both under the guide of hexo docs. i'll try again~

cocobear commented 9 years ago

@dpast I got same problem.

thinki commented 9 years ago

@dpast I've got the same problem.

leesei commented 9 years ago

Please configure the repo url like so. leesei.github.io/_config.yml at source · leesei/leesei.github.io deployer-git should also support gitcafe.

herosgame commented 7 years ago

In my case change repo: to repository: then deploy success