#370: update deploy.rb.sample

This commit is contained in:
Vokhmin Alexey V 2014-03-29 03:09:04 +04:00
parent e367a5e0dd
commit f495da7f74
1 changed files with 4 additions and 0 deletions

View File

@ -49,6 +49,10 @@ namespace :deploy do
# It will survive downloads folder between deployments
run "mkdir -p #{fetch :shared_path}/downloads"
run "ln -nfs #{fetch :shared_path}/downloads/ #{fetch :release_path}/public/downloads"
# It will survive sitemaps folder between deployments
run "mkdir -p #{fetch :shared_path}/sitemaps"
run "ln -nfs #{fetch :shared_path}/sitemaps #{fetch :release_path}/public/sitemaps"
end
task :symlink_pids, :roles => :app do