Class | Nanoc::Extra::Deployers::Rsync |
In: |
lib/nanoc/extra/deployers/rsync.rb
|
Parent: | ::Nanoc::Extra::Deployer |
A deployer that deploys a site using rsync.
The configuration has should include a `:dst` value, a string containing the destination to where rsync should upload its data. It will likely be in `host:path` format. It should not end with a slash. For example, `"example.com:/var/www/sites/mysite/html"`.
@example A deployment configuration with public and staging configurations
deploy: public: kind: rsync dst: "ectype:sites/stoneship/public" staging: kind: rsync dst: "ectype:sites/stoneship-staging/public" options: [ "-glpPrtvz" ]
DEFAULT_OPTIONS | = | [ '-glpPrtvz', '--exclude=".hg"', '--exclude=".svn"', '--exclude=".git"' | Default rsync options |