diff --git a/templates/config/deploy.rb b/templates/config/deploy.rb index 74bfb21..357ff76 100644 --- a/templates/config/deploy.rb +++ b/templates/config/deploy.rb @@ -11,7 +11,7 @@ # ask :branch, `git rev-parse --abbrev-ref HEAD`.chomp # Default deploy_to directory is /var/www/blog2 -set :deploy_to, "/home/#{local_user}/apps/#{fetch(:application)}" +set :deploy_to, "/home/#{fetch(:local_user)}/apps/#{fetch(:application)}" # Default value for :scm is :git set :scm, :git