Use shell command to deploy your hexo.
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
test
.babelrc
.eslintrc.json
.eslintrc.test.json
.gitignore
.npmignore
LICENSE
README.md
index.js
package.json

README.md

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