set :svn_user, "mysvnuser"
set :svn_pass, "mysvnpass"
ssh_options[:username] ='admin@domain.com'
ssh_options[:password] ='mysshpass'
set :user, "admin"
set :password, "mypass"
# OPTIONAL VARIABLES# =============================================================================
set :deploy_to, "/home/public_html/sub.domain.com"# defaults to "/u/apps/#{application}"
set :deploy_via, :copy#set :checkout, "export"
set :copy_strategy, :checkout
set :use_sudo, false
set :keep_releases, 3
# TASKS# =============================================================================
desc "This will deploy the app - overwrites deploy task so it wont run migrate or other rails related tasks"
deploy.task:deploydo
run "svn --quiet #{checkout}#{repository}#{release_path}"
run "ln -nfs #{release_path}#{current_path}"
run "ln -nfs #{shared_path}/public #{current_path}/public"end