Permalink
Browse files

updated deploy script to noy use app folder

  • Loading branch information...
1 parent a5b42ac commit 717ff9669865446f10fb88408e487649bbed3077 @bangline committed Nov 17, 2011
Showing with 6 additions and 1 deletion.
  1. +6 −1 config/deploy.rb
View
@@ -1,7 +1,12 @@
+require 'json'
+
+user = JSON.parse('../dna.json')
+
ssh_options[:forward_agent] = true
set :application, "capistrano_demo"
-set :user, "capdemo"
+set :user, user['name']
+set :password, user['password']
set :deploy_to, "/home/#{user}/app"
set :repository, "git@github.com:bangline/icapistrano_demo.git"

0 comments on commit 717ff96

Please sign in to comment.