diff --git a/tasks/production.rake b/tasks/production.rake index 17e28dd..acf47b4 100644 --- a/tasks/production.rake +++ b/tasks/production.rake @@ -4,7 +4,7 @@ require 'find' desc 'Deploy the hugo contents to the server' task :prod => [:prep] do - sh 'hugo -v' + sh 'hugo -v --minify' sh 'find public -type f -name "*.gz" -delete' diff --git a/tasks/staging.rake b/tasks/staging.rake index 08d94c5..647953f 100644 --- a/tasks/staging.rake +++ b/tasks/staging.rake @@ -4,7 +4,7 @@ require 'find' desc 'Deploy the hugo contents to the server' task :stag => [:prep] do - sh 'hugo -e staging -v' + sh 'hugo -e staging -v --minify' sh 'find public -type f -name "*.gz" -delete'