Skip to content

HakurouKen/hexo-deployer-shell

Repository files navigation

hexo-deployer-shell

Shell deployer plugin for Hexo.

This deployer is simple a alias to your own deploy shell scripts. You should use your own way to deploy your hexo project.

Installation

npm install hexo-deployer-shell --save

Options

You can configure this plugin in _config.yml.

deploy:
    type: shell
    command: <your deploy command>

You can specify options of command. For example:

deploy:
    type: shell
    command: <your deploy command>
    options:
        timeout: 2000

hexo-deployer-shell use child_process.exec internal, the options arguments will be pass to child_process.exec directly. See more info on Node.js official website.

That's all. Enjoy!

License

MIT

About

Use shell command to deploy your hexo.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published