Skip to content
Snippets Groups Projects
Commit f36c015a authored by Arnaud Levy's avatar Arnaud Levy
Browse files

save_and_sync_websites

parent abbb81a8
No related branches found
No related tags found
No related merge requests found
......@@ -5,4 +5,11 @@ namespace :auto do
Research::Hal.update_from_api!
end
desc 'Resave every website to enable publications in the future'
task save_and_sync_websites: :environment do
Communication::Website.find_each do |website|
website.save
end
end
end
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment