added ftp to error message

This commit is contained in:
Benjamin Knofe 2012-11-08 16:53:45 +01:00
parent 817ac132c0
commit 963971bb15

View file

@ -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