From 266c28ab3de4dc20f4dc55a7df13bb13354b1708 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Tue, 9 Aug 2016 22:25:33 +0200 Subject: Cleanup deploy scripts some more. --- config/deploy.rb | 6 ++---- config/deploy/production.rb | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'config') diff --git a/config/deploy.rb b/config/deploy.rb index 2a835d6..19aceb5 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -1,11 +1,9 @@ # config valid only for current version of Capistrano lock '3.4.0' -set :application, 'regform' +set :application, 'registration' set :repo_url, 'https://github.com/snake66/norsk-urskog-registrations.git' -set :passenger_restart_with_touch, true -set :rvm_ruby_version, '2.2.3' -set :deploy_to, '/usr/local/www/norsk-urskog/registration' +set :deploy_to, '/home/norskurskog/www/registration' set :linked_files, fetch(:linked_files, []).push('config.yml') # Default value for linked_dirs is [] diff --git a/config/deploy/production.rb b/config/deploy/production.rb index ee597c4..d9620a1 100644 --- a/config/deploy/production.rb +++ b/config/deploy/production.rb @@ -1 +1 @@ -server 'volse.anduin.net', user: 'deploy', roles: %w{app db web} +server 'volse.anduin.net', user: 'norskurskog', roles: %w{app db web} -- cgit v1.2.3