diff --git a/lib/tasks/assets.rake b/lib/tasks/assets.rake index 7ce990159ac64c48b5fd2ea633440c8e7a993926..444a583c8122e83b3efeee53a35c4c0581ac7240 100644 --- a/lib/tasks/assets.rake +++ b/lib/tasks/assets.rake @@ -1,15 +1,15 @@ namespace :assets do - task :compile_s3 do + task :deploy do puts "compiling sass..." system 'sass --update public/stylesheets/sass:public/stylesheets' - puts "packaging assets....." + puts "packaging assets..." Jammit.package! - Rake::Task['assets:upload_to_s3'].invoke + Rake::Task['assets:upload'].invoke end - task :upload_to_s3 => [:environment] do + task :upload => [:environment] do s3_configuration = { :bucket_name => AppConfig[:s3_bucket], :access_key_id => AppConfig[:s3_key],