diff --git a/config/deploy/feat.rb b/config/deploy/feat.rb index 2114fa3..93c3e8c 100644 --- a/config/deploy/feat.rb +++ b/config/deploy/feat.rb @@ -2,12 +2,16 @@ set :deploy_to, '/home/unipept/rails' +set :server, ENV['server'] || 'rick.ugent.be' + +#set :rvm_custom_path, '/usr/share/rvm' + # don't specify db as it's not needed for unipept -server 'sherlock.ugent.be', user: 'unipept', roles: %i[web app], ssh_options: { +server "#{fetch(:server)}", user: 'unipept', roles: %i[web app], ssh_options: { port: 4840 } -set :branch, 'feature/pept2filtered' +set :branch, 'feature/pept2filtered-cutoff' set :rails_env, :development namespace :deploy do @@ -22,4 +26,6 @@ upload! StringIO.new(content), "#{release_path}/public/robots.txt" end end + end +