Update the Capistrano configuration
This commit is contained in:
parent
26f98ce4fb
commit
6e3f6cca35
2
Capfile
2
Capfile
|
@ -15,7 +15,7 @@ require 'capistrano/deploy'
|
||||||
# https://github.com/capistrano/rails
|
# https://github.com/capistrano/rails
|
||||||
# https://github.com/capistrano/passenger
|
# https://github.com/capistrano/passenger
|
||||||
#
|
#
|
||||||
require 'capistrano/rvm'
|
# require 'capistrano/rvm'
|
||||||
# require 'capistrano/rbenv'
|
# require 'capistrano/rbenv'
|
||||||
# require 'capistrano/chruby'
|
# require 'capistrano/chruby'
|
||||||
require 'capistrano/bundler'
|
require 'capistrano/bundler'
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# config valid only for current version of Capistrano
|
# config valid only for current version of Capistrano
|
||||||
lock '3.4.0'
|
lock '3.6.1'
|
||||||
|
|
||||||
set :application, 'gauge'
|
set :application, 'gauge'
|
||||||
set :repo_url, 'https://github.com/OpenFest/gauge.git'
|
set :repo_url, 'https://github.com/OpenFest/gauge.git'
|
||||||
|
@ -13,20 +13,21 @@ set :deploy_to, '/home/barf/gauge'
|
||||||
# Default value for :scm is :git
|
# Default value for :scm is :git
|
||||||
# set :scm, :git
|
# set :scm, :git
|
||||||
|
|
||||||
# Default value for :format is :pretty
|
# Default value for :format is :airbrussh.
|
||||||
# set :format, :pretty
|
# set :format, :airbrussh
|
||||||
|
|
||||||
# Default value for :log_level is :debug
|
# You can configure the Airbrussh format using :format_options.
|
||||||
set :log_level, :info
|
# These are the defaults.
|
||||||
|
# set :format_options, command_output: true, log_file: 'log/capistrano.log', color: :auto, truncate: :auto
|
||||||
|
|
||||||
# Default value for :pty is false
|
# Default value for :pty is false
|
||||||
# set :pty, true
|
# set :pty, true
|
||||||
|
|
||||||
# Default value for :linked_files is []
|
# Default value for :linked_files is []
|
||||||
set :linked_files, fetch(:linked_files, []).push('config/database.yml', 'config/secrets.yml', 'db/production.sqlite3')
|
append :linked_files, 'config/database.yml', 'config/secrets.yml', 'db/production.sqlite3'
|
||||||
|
|
||||||
# Default value for linked_dirs is []
|
# Default value for linked_dirs is []
|
||||||
set :linked_dirs, fetch(:linked_dirs, []).push('log', 'tmp/pids', 'tmp/cache', 'tmp/sockets', 'vendor/bundle', 'public/system')
|
append :linked_dirs, 'log', 'tmp/pids', 'tmp/cache', 'tmp/sockets', 'vendor/bundle', 'public/system'
|
||||||
|
|
||||||
# Default value for default_env is {}
|
# Default value for default_env is {}
|
||||||
# set :default_env, { path: "/opt/ruby/bin:$PATH" }
|
# set :default_env, { path: "/opt/ruby/bin:$PATH" }
|
||||||
|
|
Loading…
Reference in New Issue