Commit 5fb61a6a authored by Colin Shea's avatar Colin Shea

run middleman build in production mode

parent 88c0bcaf
......@@ -70,7 +70,7 @@ end
desc "Build the middleman site"
task :build do
cd File.expand_path('..', __FILE__)
sh "bundle exec middleman build --clean --verbose"
sh "bundle exec middleman build --clean --verbose --environment=production"
desc "Run the middleman preview server"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment