Answer the question
In order to leave comments, you need to log in
How to save a folder with Capistrano?
Hello! there is an uploads folder in the public directory, all uploaded files through the admin panel go there, these files are not stored on the local area. The problem is that when I make changes, the uploads folder in the new release is empty.
Tell me how to make the uploads directory copied to the new release?
Capistrano 3.1
Answer the question
In order to leave comments, you need to log in
Haven't worked with capistrano for a long time. She already has a 3 major release, but it seems to me that you need to add a folder publiс/uploads
to
set :linked_dirs, %w{bin log tmp/pids tmp/cache tmp/sockets vendor/bundle public/system}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question