README.md in middleman-deploy-0.0.6 vs README.md in middleman-deploy-0.0.7

- old
+ new

@@ -93,13 +93,39 @@ deploy.branch = "some-other-branch-name" Default is `gh-pages`. Run `git branch -a` to see a list of possible branches. +### Step 4c - FTP setup + +#### These settings are required. + +Edit `config.rb`, and add: + + activate :deploy do |deploy| + deploy.method = :ftp + deploy.host = "ftp.example.com" + deploy.user = "tvaughan" + deploy.password = "secret" + deploy.path = "/srv/www/site" + end + +Adjust these values accordingly. + ### Step 5 middleman build [--clean] middleman deploy [--clean] + +To automatically run middleman-deploy after `middleman build`, add: + + deploy.after_build = true + +Default is `false`. + +Please note that if the `--clean` or `--no-clean` option is passed to +`middleman build` it will not be passed to `middleman deploy`. For now +only the value of `deploy.clean` in `config.rb` will be used. ### NOTES Inspired by the rsync task in [Octopress](https://github.com/imathis/octopress).