Skip to content

HakurouKen/hexo-deployer-shell

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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