New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

custom deployment #2226

thdotnet opened this Issue Oct 26, 2016 · 0 comments


2 participants

thdotnet commented Oct 26, 2016

I'm coding a simple plugin to deploy published hexo files. It doesn't matter what I try, it always gives the error message telling:

"ERROR Deployer not found: foo"

Here's the code of hexo-foo


hexo.extend.deployer.register('foo', require('./lib/foo'));


"name": "hexo-foo",
"version": "1.0.3",
"main": "index.js",
"directories": {
"lib": "./lib"
"peerDependencies": {
"hexo": "3.x"


module.exports = function(args) {




type: foo

PS: just put the important part of _config.yml.

Any tips?

@NoahDragon NoahDragon added the question label Nov 10, 2016

@stale stale bot added the wontfix label Sep 27, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment