[deploy] config
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
require_relative 'npm'
|
||||
require_relative 'config'
|
||||
|
||||
app = 'tankz'
|
||||
user = 'holop'
|
||||
@@ -13,6 +14,9 @@ set :deploy_to, "/home/#{user}/repo/#{app}"
|
||||
set :format, :airbrussh
|
||||
set :format_options, command_output: false
|
||||
|
||||
# config
|
||||
before 'deploy:updated', 'config:setup'
|
||||
|
||||
# npm
|
||||
set :npm_target_path, -> { "/home/#{fetch(:user)}/npm" }
|
||||
set :npm_flags, '--silent --no-spin'
|
||||
|
||||
Reference in New Issue
Block a user