I am deploying a Bedrock website using Capistrano.
In my config/deploy.rb I have the following code:
set :linked_files, fetch(:linked_files, ).push('.env') set :linked_dirs, fetch(:linked_dirs, ).push('web/app/uploads')
The thing is I am using Elementor on my site, it generates an important CSS file in web/app/uploads/elementor.
To include this in the deployment I added the following in my .gitignore file.
The thing is the CSS only gets deployed if I remove
set :linked_dirs, fetch(:linked_dirs, ).push('web/app/uploads'), but the problem is if I remove this normal file upload will not work.
But if I include it, file upload works but not the Elementor CSS file.
What do you think I can do to make normal upload work and Elementor CSS gets deployed?