diff options
author | Henare Degan <henare.degan@gmail.com> | 2012-09-11 09:15:01 +1000 |
---|---|---|
committer | Henare Degan <henare.degan@gmail.com> | 2012-09-11 09:15:01 +1000 |
commit | f3783ad731ee117a94da38e06aabb820f4acff81 (patch) | |
tree | a9a42a56b0e98ae039b302364eb8c89d018875b7 | |
parent | ba7e23ff8fccf30e3c88bfc06949bfea23cb04e0 (diff) |
Add a few more required options
-rw-r--r-- | config/deploy.rb | 1 | ||||
-rw-r--r-- | config/deploy.yml.example | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/config/deploy.rb b/config/deploy.rb index 5340a54ef..912ae6ffb 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -7,6 +7,7 @@ configuration = YAML.load_file('config/general.yml')[stage] set :application, 'alaveteli' set :scm, :git +set :repository, configuration['repository'] set :user, configuration['user'] set :use_sudo, false diff --git a/config/deploy.yml.example b/config/deploy.yml.example index 10b6f36bc..39a845062 100644 --- a/config/deploy.yml.example +++ b/config/deploy.yml.example @@ -3,9 +3,11 @@ production: repository: git@github.com:mysociety/alaveteli.git branch: master server: www.example.com + user: deploy path: /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 |