node.js - hexo3.0部署到coding上,怎么配置?
伊谢尔伦
伊谢尔伦 2017-04-17 11:35:15
0
4
349

求问hexo3.0部署到coding上,怎么配置?
http://hexo-demo-d281b.coding.io/ 这里写的,
deploy:
type: github

提示ERROR Deployer not found: github

这是怎么回事?

伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all(4)
左手右手慢动作

The repository and branch to be published

deploy:
  type: github
#  message: [message]
  repo: git@github.com:seanlook/seanlook.github.com.git
  branch: master
刘奇

After hexo3.0
type: git

Official Document

迷茫

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

bashdeploy:
  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.

黄舟

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]
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template