From 9c925ff0e5b7b00bcee203900ce471433e173b6c Mon Sep 17 00:00:00 2001 From: Tom Vaughan Date: Tue, 16 Jul 2013 22:25:06 -0400 Subject: [PATCH] some ftp/sftp related clean-ups --- README.md | 2 +- lib/middleman-deploy/commands.rb | 25 +++++++++++++++++-------- 2 files changed, 18 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 8868d18..a868333 100644 --- a/README.md +++ b/README.md @@ -109,7 +109,7 @@ Edit `config.rb`, and add: activate :deploy do |deploy| deploy.method = :sftp - deploy.host = "ftp.example.com" + deploy.host = "sftp.example.com" deploy.user = "tvaughan" deploy.password = "secret" deploy.path = "/srv/www/site" diff --git a/lib/middleman-deploy/commands.rb b/lib/middleman-deploy/commands.rb index f65616e..9b17a83 100644 --- a/lib/middleman-deploy/commands.rb +++ b/lib/middleman-deploy/commands.rb @@ -47,7 +47,7 @@ module Middleman def print_usage_and_die(message) raise Error, "ERROR: " + message + "\n" + <