document that we support the after_build hook

master
Tom Vaughan 2012-11-13 20:29:20 -03:00
parent b71dc4d8df
commit ca049388fc
1 changed files with 10 additions and 0 deletions

View File

@ -116,6 +116,16 @@ Adjust these values accordingly.
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).