added ftp to error message
This commit is contained in:
parent
817ac132c0
commit
963971bb15
1 changed files with 10 additions and 0 deletions
|
@ -62,6 +62,16 @@ activate :deploy do |deploy|
|
||||||
# run `git branch -a` to see a list of possible branches
|
# run `git branch -a` to see a list of possible branches
|
||||||
deploy.branch = "some-other-branch-name"
|
deploy.branch = "some-other-branch-name"
|
||||||
end
|
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
|
EOF
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue