hexo-deployer-rsync-xd

Rsync deployer plugin of Hexo.

Usage no npm install needed!

<script type="module">
  import hexoDeployerRsyncXd from 'https://cdn.skypack.dev/hexo-deployer-rsync-xd';
</script>

README

hexo-deployer-rsync

NPM version

Rsync deployer plugin for Hexo.

Installation

$ npm install hexo-deployer-rsync --save

Options

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

License

MIT