hexo: ERROR Deployer not found: github

I just download install Hexo version 3.0.0-rc.2

Now I’ve setup the deploy section in the _config.yml:

# Deployment
## Docs: http://hexo.io/docs/deployment.html
deploy:
  type: github
  repo: https://github.com/scaljeri/website.git
  branch: gh-pages
  message: hexo deploy

However, when I run the deploy command I get the following:

% hexo deploy
ERROR Deployer not found: github

According to the documentation it should work this way. Any suggestions ?

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 44 (13 by maintainers)

Commits related to this issue

Most upvoted comments

In version 3, your should use git instead of github. And your need to run

npm install hexo-deployer-git --save

So that you can use hexo-deployer-git as usual.

按照一下操作 确实解决了: 执行完以后,如果报错 Error: Deployer not found : github,则执行如下命令:

npm install hexo-deployer-git --save

同时修改 _config.yml :

deploy: type: git //改成github
然后再执行:

hexo generate

hexo deploy