Preserve picture uploads on deploy

This commit is contained in:
Petko Bordjukov 2015-11-05 13:17:59 +02:00
parent 61a3d06667
commit c523a80d66
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ set :deploy_to, '/home/barf/clarion'
set :linked_files, fetch(:linked_files, []).push('config/database.yml', 'config/secrets.yml') set :linked_files, fetch(:linked_files, []).push('config/database.yml', 'config/secrets.yml')
# Default value for linked_dirs is [] # Default value for linked_dirs is []
set :linked_dirs, fetch(:linked_dirs, []).push('log', 'tmp/pids', 'tmp/cache', 'tmp/sockets', 'vendor/bundle', 'public/system', 'public/uploads') set :linked_dirs, fetch(:linked_dirs, []).push('log', 'tmp/uploads', 'tmp/pids', 'tmp/cache', 'tmp/sockets', 'vendor/bundle', 'public/system', 'public/uploads')
# Default value for default_env is {} # Default value for default_env is {}
# set :default_env, { path: "/opt/ruby/bin:$PATH" } # set :default_env, { path: "/opt/ruby/bin:$PATH" }