Skip to content
Browse files

add symlink to cached files

  • Loading branch information...
1 parent 49431e4 commit e11266eef5388b745b259abb4dc58b1e4c5b9227 @alx committed Jul 16, 2011
Showing with 3 additions and 2 deletions.
  1. +3 −2 json_server/config/deploy.rb
View
5 json_server/config/deploy.rb
@@ -35,8 +35,9 @@
end
end
-task :link_shared_directories do
-end
+task :link_shared_directories do
+ run "ln -s #{shared_path}/cached_json #{release_path}/json_server/cache"
+end
after "deploy:update_code", :link_shared_directories

0 comments on commit e11266e

Please sign in to comment.
Something went wrong with that request. Please try again.