diff --git a/config/deploy.rb b/config/deploy.rb index 1f12a1e..5d401de 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -1,14 +1,14 @@ # config valid only for current version of Capistrano lock '3.6.1' -set :application, 'my_app_name' -set :repo_url, 'git@example.com:me/my_repo.git' +set :application, 'sportsello' +set :repo_url, 'git@github.com:c-Brooks/sportsello.git' # Default branch is :master # ask :branch, `git rev-parse --abbrev-ref HEAD`.chomp # Default deploy_to directory is /var/www/my_app_name -# set :deploy_to, '/var/www/my_app_name' +set :deploy_to, '/home/deploy/sportsello' # Default value for :scm is :git # set :scm, :git diff --git a/config/deploy/production.rb b/config/deploy/production.rb index 4fc06fa..3962460 100644 --- a/config/deploy/production.rb +++ b/config/deploy/production.rb @@ -7,6 +7,8 @@ # server 'example.com', user: 'deploy', roles: %w{app web}, other_property: :other_value # server 'db.example.com', user: 'deploy', roles: %w{db} +server 'sportsello.com', user: 'deploy', roles: %w{app} +set :branch, 'production/config' # role-based syntax