Skip to content

Commit

Permalink
Symlink the path in place
Browse files Browse the repository at this point in the history
  • Loading branch information
auxesis committed Sep 8, 2011
1 parent ddc85ed commit 633dd75
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Capfile
Expand Up @@ -15,3 +15,10 @@ set :deploy_to, "/srv/#{application}"

server "app", :app

after "deploy", "deploy:symlink"

namespace :deploy do
task :symlink do
run "#{sudo} ln -sf #{current_path} #{current_path}/#{application}"
end
end

0 comments on commit 633dd75

Please sign in to comment.