search

Home  >  Q&A  >  body text

node.js - hexo3.0部署到coding上,怎么配置?

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

提示ERROR Deployer not found: github

这是怎么回事?

伊谢尔伦伊谢尔伦2867 days ago352

reply all(4)I'll reply

  • ringa_lee

    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
    

    reply
    0
  • 怪我咯

    怪我咯2017-04-17 11:37:15

    After hexo3.0
    type: git

    Official Document

    reply
    0
  • 迷茫

    迷茫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

    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.

    reply
    0
  • 黄舟

    黄舟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]
    

    reply
    0
  • Cancelreply