Skip to content

Commit

Permalink
final deploy cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmarcia committed Oct 6, 2018
1 parent 113e429 commit af56022
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Capfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ require "capistrano/deploy"
# https://github.com/capistrano/rails
# https://github.com/capistrano/passenger
#
require 'capistrano/rvm'
#require "capistrano/rbenv"
require "capistrano/rvm"
# require "capistrano/rbenv"
# require 'capistrano/chruby'
require "capistrano/bundler"
require "capistrano/rails/assets"
Expand Down
10 changes: 5 additions & 5 deletions config/deploy/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
role :app, "deploy@104.45.147.100"

server "104.45.147.100", roles: %w{web app db}, primary: true,
ssh_options: {
forward_agent: true,
keys: ["~/.ssh/id_rsa"]
}
ssh_options: {
forward_agent: true,
keys: ["~/.ssh/id_rsa"]
}

# role-based syntax
# ==================
Expand All @@ -38,7 +38,7 @@
# Feel free to add new variables to customise your setup.

set :rvm_type, :user
set :rvm_ruby_version, '2.5.1'
set :rvm_ruby_version, "2.5.1"
# Custom SSH Options
# ==================
# You may pass any option but keep in mind that net/ssh understands a
Expand Down

0 comments on commit af56022

Please sign in to comment.