summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTyler Mercier <tylermercier@gmail.com>2013-07-22 17:25:37 -0600
committerTyler Mercier <tylermercier@gmail.com>2013-07-22 17:25:59 -0600
commitece23cf003ea808514e21f741bf7ab53959f218a (patch)
treeb31f9f84c5810f1f08d42435f2eb6d95fcd53ce7
parentb5de9d6224f19168cfc9d9ba510ba236c2ae1406 (diff)
switch to only on setup
-rw-r--r--config/deploy.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/deploy.rb b/config/deploy.rb
index 3e07894..7d762c2 100644
--- a/config/deploy.rb
+++ b/config/deploy.rb
@@ -32,8 +32,8 @@ set :rvm_ruby_string, :local # use the same ruby as used locally for deployment
default_run_options[:pty] = true # password prompt
ssh_options[:forward_agent] = true # no deploy key for github
-before 'deploy', 'rvm:install_rvm' # update RVM
-before 'deploy', 'rvm:install_ruby' # install Ruby and create gemset (both if missing)
+before 'deploy:setup', 'rvm:install_rvm' # update RVM
+before 'deploy:setup', 'rvm:install_ruby' # install Ruby and create gemset (both if missing)
after "deploy", "deploy:cleanup" # keep only the last 5 releases