aboutsummaryrefslogtreecommitdiffstats
path: root/config/deploy.rb.example
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2013-04-19 19:31:09 +0200
committerHarald Eilertsen <haraldei@anduin.net>2013-04-19 19:31:09 +0200
commit4062a84cb2c9a961201238adce4a5851e377f713 (patch)
treebfed9fae3f4ec5ef9a2249b1d36f8942406db181 /config/deploy.rb.example
parent7f0a41078d24fcf5bef577e74f0d30e02a6af4aa (diff)
downloadhmnoweb-4062a84cb2c9a961201238adce4a5851e377f713.tar.gz
hmnoweb-4062a84cb2c9a961201238adce4a5851e377f713.tar.bz2
hmnoweb-4062a84cb2c9a961201238adce4a5851e377f713.zip
Fix deploy scripts.
Require the scripts in config/deploy directory so they will hook into the deploy process. Fixed deploy:refinery:setup recipe, now produces a valid config and puts it in the right spot.
Diffstat (limited to 'config/deploy.rb.example')
-rw-r--r--config/deploy.rb.example7
1 files changed, 5 insertions, 2 deletions
diff --git a/config/deploy.rb.example b/config/deploy.rb.example
index 7e10cdb..8d1303d 100644
--- a/config/deploy.rb.example
+++ b/config/deploy.rb.example
@@ -1,5 +1,7 @@
require 'bundler/capistrano'
-require File.join(File.dirname(__FILE__), 'deploy', 'database')
+Dir.glob(File.join(File.dirname(__FILE__), 'deploy', '*.rb')) do |f|
+ require f
+end
set :application, "set your application name here"
set :repository, "set your repository location here"
@@ -7,7 +9,8 @@ set :repository, "set your repository location here"
set :scm, :git
set :branch, 'master' unless exists?(:branch)
-set :deply_to, "path on server"
+set :deploy_to, "path on server"
+set :user, "username on server"
# On FreeBSD uncomment the following lines
#set :use_sudo, false