[deploy] update

This commit is contained in:
2018-01-01 14:33:15 +03:00
parent 4db8f02bc5
commit 61b78ad4d9
7 changed files with 61 additions and 85 deletions

View File

@@ -2,6 +2,7 @@ role :app, %w{localhost}
role :web, %w{localhost}
role :db, %w{localhost}
set :user, ENV['USER']
user = fetch(:user)
server 'localhost', ssh_options: { port: 22, user: user, forward_agent: true }