Skip to content

Commit

Permalink
Update temporary feat deployer
Browse files Browse the repository at this point in the history
  • Loading branch information
pverscha committed Aug 10, 2023
1 parent a20deff commit 8aa6869
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions config/deploy/feat.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -22,4 +26,6 @@
upload! StringIO.new(content), "#{release_path}/public/robots.txt"
end
end

end

0 comments on commit 8aa6869

Please sign in to comment.