From 9d2bc786e2d40ce83bd5f5302dbe332e6443f5ed Mon Sep 17 00:00:00 2001 From: kemuri Date: Fri, 21 Feb 2014 13:47:03 +0100 Subject: [PATCH] Added custom ssh ports instructions. --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 25b924c..e91ab57 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,11 @@ Set some `rsync_options` to your liking: set :rsync_options, %w[--recursive --delete --delete-excluded --exclude .git*] ``` +You can also define custom ssh ports for rsync if needed : +```ruby +set :rsync_options, %w[.git*] + ["-e", "ssh -p 1024"] +``` + Then invoke Mina::Rsync's tasks from your `deploy` task: ```ruby task :deploy do