From 963971bb15284de3f0157b883ac8ced237db5a93 Mon Sep 17 00:00:00 2001 From: Benjamin Knofe Date: Thu, 8 Nov 2012 16:53:45 +0100 Subject: [PATCH] added ftp to error message --- lib/middleman-deploy/commands.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/middleman-deploy/commands.rb b/lib/middleman-deploy/commands.rb index dea92c7..6d68088 100644 --- a/lib/middleman-deploy/commands.rb +++ b/lib/middleman-deploy/commands.rb @@ -62,6 +62,16 @@ activate :deploy do |deploy| # run `git branch -a` to see a list of possible branches deploy.branch = "some-other-branch-name" end + +# To deploy the build directory to a remote host via ftp: +activate :deploy do |deploy| + deploy.method = :ftp + # host, user, passwword and path *must* be set + deploy.host = "ftp.example.com" + deploy.user = "tvaughan" + deploy.password = "secret" + deploy.path = "/srv/www/site" +end EOF end