From 4db8f02bc5c3d502f701287c888d3b287660f3fe Mon Sep 17 00:00:00 2001 From: shmyga Date: Mon, 1 Jan 2018 12:19:07 +0300 Subject: [PATCH] [deploy] update --- config/deploy.rb | 8 ++++---- config/deploy/production.rb | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/config/deploy.rb b/config/deploy.rb index b3b9cd8..66d805d 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -1,7 +1,7 @@ require_relative 'service' app = 'tankz' -user = 'adman' +user = 'holop' set :scm, :git set :application, app @@ -39,6 +39,6 @@ namespace :build do end end -before 'build:run', 'build:lib' -before 'build:run', 'build:gen' -before 'deploy:updated', 'build:run' +# before 'build:run', 'build:lib' +# before 'build:run', 'build:gen' +# before 'deploy:updated', 'build:run' diff --git a/config/deploy/production.rb b/config/deploy/production.rb index 98a2014..db51b61 100644 --- a/config/deploy/production.rb +++ b/config/deploy/production.rb @@ -1,10 +1,10 @@ -role :app, %w{test.instreamatic.com} -role :web, %w{test.instreamatic.com} -role :db, %w{test.instreamatic.com} +role :app, %w{94.130.110.9} +role :web, %w{94.130.110.9} +role :db, %w{94.130.110.9} user = fetch(:user) -server 'test.instreamatic.com', ssh_options: { port: 3607, user: user, forward_agent: true } +server '94.130.110.9', ssh_options: { port: 22, user: user, forward_agent: true } set :tmp_dir, "/home/#{user}/tmp" set :branch, 'master'