diff --git a/config/deploy.rb b/config/deploy.rb index 51a02a2d2..6eb3d8704 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -4,7 +4,7 @@ $LOAD_PATH.unshift File.join(File.dirname(__FILE__), 'deploy') #require "dotenv/deployment/capistrano" set :application, "blacklight-cornell" -set :repo_url, "git@github.com:cul-it/blacklight-cornell" +set :repo_url, "git@github.com:LD4P/blacklight-cornell" set :use_sudo, false #set :scm, :git #set :scm_verbose, true diff --git a/config/deploy/integration-ld4p3-ruby3.rb b/config/deploy/integration-ld4p3-ruby3.rb new file mode 100644 index 000000000..4937cd990 --- /dev/null +++ b/config/deploy/integration-ld4p3-ruby3.rb @@ -0,0 +1,14 @@ +set :stage, :integration + +server 'aws-108-114.internal.library.cornell.edu', roles: %w{app web db}, user: "jenkins" + +set :deploy_to, "/cul/web/ld4p3-web.library.cornell.edu/rails-app" + +set :branch, ENV['BRANCH'].gsub("origin/","") if ENV['BRANCH'] + +set :rails_env, 'development' + +#task :install_env, :roles => [ :app, :db, :web ] do +# run "cp #{deploy_to}/../conf/latest-integration.env #{shared_path}/.env" +# run "cat #{shared_path}/.env" +#end