Adding some notes about how to deploy and how to clean

This commit is contained in:
Hampton Catlin 2015-11-27 13:36:53 -08:00
parent 007f9d96e3
commit 9d83c5e7f8
2 changed files with 17 additions and 0 deletions

View File

@ -29,6 +29,18 @@ bundle install
bundle exec middleman
```
## Deploying
If you're lucky enough to be one of our deployers, then just run the following
command from master branch... and MAKE SURE YOUR WORKING COPY IS CLEAN!
```
rake deploy
```
It's that easy.
If something goes wrong, make sure to run `rake clean`
Thanks!

View File

@ -75,5 +75,10 @@ task :upload do
sh %{git checkout master}
end
task :clean do
sh %{rm -rf .sass build}
end
desc "Deploy the site to heroku."
task :deploy => [:build, :upload]
task :deploy_clean => [:clean, :build, :upload]