I have the following in my deploy.rb
:
set :upload_dirs, %w(public/pictures)
set :shared_children, (fetch(:shared_children) || []) + fetch(:upload_dirs)
This seems to be the suggested method to allow me to have the public directory shared.
The public/pictures
directory exists and is checked in empty in the repository. I tried to also not have it in the repository but it didn't work anyway.
When I deploy with capistrano, I don't see the public/pictures
directory appearing anywhere in my deploy location.
Has this feature been removed from Capistrano 3? Is there a definitive source of documentation for Capistrano 3? All I can find is Capistrano 2 documentation and very scarce sources of information for v3.