What is the proper way to sync assets with Digital Ocean Space when precompiling assets?

April 18, 2019 464 views
Dokku Ruby on Rails Ubuntu 18.04

I deployed RoR application using Dokku On Digital Ocean droplet. I’m going to try DO Space CDN.
I’d like assets to be synchronised to S3 bucket after run bundle exec rake assets:precompile but I can’t find any info about how should precompiled assets be copied to DO space.
I read about ‘asset_sync’ gem but i’m not sure about it. Does anyone have some thoughts?

Be the first one to answer this question.