Rsync deployer plugin for Hexo.
$ npm install hexo-deployer-rsync --save
You can configure this plugin in _config.yml
.
deploy:
type: rsync
host: <host>
user: <user>
root: <root>
port: [port] # Default is 22
delete: [true|false] # Default is true
args: <rsync args>
verbose: [true|false] # Default is true
ignore_errors: [true|false] # Default is false
- host: Address of remote host
- user: Username
- root: Root directory of remote host
- port: Port
- delete: Delete old files on remote host
- args: Rsync arguments
- verbose: Display verbose messages
- ignore_errors: Ignore errors
MIT