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.
npm install hexo-deployer-shell --save
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!
MIT