diff options
author | Henare Degan <henare.degan@gmail.com> | 2012-09-11 18:01:38 +1000 |
---|---|---|
committer | Henare Degan <henare.degan@gmail.com> | 2012-09-11 18:01:38 +1000 |
commit | 5320ac16e77b3ff27d3b9c5753f96eaed917ba2d (patch) | |
tree | 0fbbdfb404442dbbac11638830384c9af52d3399 | |
parent | b7601014b1b173703004c3050e0e834bbbda1c73 (diff) |
Use the same name as Capistrano so we have consistent naming
-rw-r--r-- | config/deploy.rb | 2 | ||||
-rw-r--r-- | config/deploy.yml.example | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/config/deploy.rb b/config/deploy.rb index d3db1c787..a0c4049e6 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -12,7 +12,7 @@ set :deploy_via, :remote_cache set :repository, configuration['repository'] set :branch, configuration['branch'] set :git_enable_submodules, true -set :deploy_to, configuration['path'] +set :deploy_to, configuration['deploy_to'] set :user, configuration['user'] set :use_sudo, false diff --git a/config/deploy.yml.example b/config/deploy.yml.example index 546d03c8d..aea045dff 100644 --- a/config/deploy.yml.example +++ b/config/deploy.yml.example @@ -4,10 +4,10 @@ production: branch: master server: www.example.com user: deploy - path: /srv/www/alaveteli_production + deploy_to: /srv/www/alaveteli_production staging: repository: git://github.com:mysociety/alaveteli.git branch: develop server: test.example.com user: deploy - path: /srv/www/alaveteli_staging + deploy_to: /srv/www/alaveteli_staging |