求问hexo3.0部署到coding上,怎么配置?
http://hexo-demo-d281b.coding.io/ 这里写的,
deploy:
type: github
提示ERROR Deployer not found: github
这是怎么回事?
ringa_lee2017-04-17 11:37:15
The repository and branch to be published
deploy:
type: github
# message: [message]
repo: git@github.com:seanlook/seanlook.github.com.git
branch: master
迷茫2017-04-17 11:37:15
This question, uh, take a look at the documentation
http://hexo.io/docs/deployment.html#Git
Whether it is GitHub or GitCafe, the type should be configured as git
If your warehouse name is hexo-demo-d281b.coding.io
Then deploy should be configured like this
bash
deploy: type: git repo: git@coding.net:ryu/hexo-demo-d281b.coding.io.git branch: master
I found that the questioner has solved the problem
https://coding.net/u/ryu/p/Hexo-demo/git
As for 提示ERROR Deployer not found: github
the meaning of this error is that this type of (github, not git) deployment method is not recognized.
黄舟2017-04-17 11:37:15
Refer to hexo official documentation and you need to install the git plug-in
Install hexo-deployer-git.
$ npm install hexo-deployer-git --save
Edit settings.
deploy:
type: git
repo: <repository url>
branch: [branch]
message: [message]