diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 30acafa..65e5b8a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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! diff --git a/Rakefile b/Rakefile index 26f03e1..de8955e 100644 --- a/Rakefile +++ b/Rakefile @@ -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]