Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (9 sloc) 389 Bytes
unless Rake::Task.task_defined?('cloudinary:sync_static') # prevent double-loading/execution
namespace :cloudinary do
desc "Sync static resources with cloudinary"
task :sync_static => :environment do
delete_missing = ENV['DELETE_MISSING'] == 'true' || ENV['DELETE_MISSING'] == '1'
Cloudinary::Static.sync(:delete_missing => delete_missing)
end
end
end
You can’t perform that action at this time.