I am creating a sitemap for my website and I need to upload it to S3, because of Heroku temporary filesystem.
I have already configured Active Storage with Amazon S3 but I don't want to create a Model entity only for a single upload. Is there a way just to:
sitemap.rb
- Upload the file generated "public/sitemaps/sitemap.xml.gz" to S3 with Active Storage
- Retrieve the URL