Commit 1426ef516af2a3972f26cb71fe3aee6c57c0963c
- Date: Mon May 26 20:23:04 +0000 2008
- Committer: Tim Dysinger (tim@dysinger.net)
- Author: Tim Dysinger (tim@dysinger.net)
- Commit SHA1: 1426ef516af2a3972f26cb71fe3aee6c57c0963c
- Tree SHA1: 7890527ecad10f06f62b5003312a86691d6416d8
Updated capistrano script again with minor tweaks
Commit diff
| |   |
| 15 | 15 | |
| 16 | 16 | set :scm, :git |
| 17 | 17 | set :ssh_options, { :forward_agent => true } |
| 18 | | set :repository, "/var/git/#{application}/mainline.git" |
| 18 | set :repository, "git@git.sonianarchive.com:#{application}/mainline.git" |
| 19 | 19 | set :branch, "sonian" |
| 20 | | set :repository_cache, "git-cache" |
| 21 | | set :deploy_to, "/var/www/#{application}" |
| 22 | 20 | set :deploy_via, :remote_cache |
| 21 | set :deploy_to, "/var/www/#{application}" |
| 23 | 22 | |
| 24 | 23 | after "deploy:setup" do |
| 25 | 24 | run "mkdir -p #{shared_path}/config" |
| toggle raw diff |
--- a/config/deploy.rb
+++ b/config/deploy.rb
@@ -15,11 +15,10 @@ depend :remote, :gem, 'rmagick', '>=2.3.0'
set :scm, :git
set :ssh_options, { :forward_agent => true }
-set :repository, "/var/git/#{application}/mainline.git"
+set :repository, "git@git.sonianarchive.com:#{application}/mainline.git"
set :branch, "sonian"
-set :repository_cache, "git-cache"
-set :deploy_to, "/var/www/#{application}"
set :deploy_via, :remote_cache
+set :deploy_to, "/var/www/#{application}"
after "deploy:setup" do
run "mkdir -p #{shared_path}/config" |