Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add symlink to cached files

  • Loading branch information...
commit e11266eef5388b745b259abb4dc58b1e4c5b9227 1 parent 49431e4
@alx authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.