suite
This commit is contained in:
parent
4e9e8f96ef
commit
a6cb670788
2
Capfile
2
Capfile
@ -30,8 +30,8 @@ require "capistrano/rvm"
|
||||
# require "capistrano/rbenv"
|
||||
# require "capistrano/chruby"
|
||||
require "capistrano/rails/assets"
|
||||
require 'capistrano/nginx'
|
||||
require "capistrano/bundler"
|
||||
|
||||
require "capistrano/rails/migrations"
|
||||
# require "capistrano/passenger"
|
||||
|
||||
|
@ -4,8 +4,8 @@ set :stage, :production
|
||||
server "quartz.snlab.fr", user: "web", roles: %w{web app db}
|
||||
|
||||
set :branch, ENV["REVISION"] || ENV["BRANCH_NAME"] || "master"
|
||||
|
||||
|
||||
puts stage_config_path
|
||||
set :nginx_template, "#{stage_config_path}/#{fetch :stage}/nginx.conf.erb"
|
||||
|
||||
# server-based syntax
|
||||
# ======================
|
||||
@ -43,6 +43,8 @@ set :deploy_to, "/srv/www/web/#{fetch(:application)}/"
|
||||
|
||||
set :repo_url, "git@quartz.snlab.fr:nicolas/#{fetch(:application)}.git"
|
||||
|
||||
append :linked_files, "config/master.key"
|
||||
|
||||
|
||||
# Custom SSH Options
|
||||
# ==================
|
||||
|
Loading…
x
Reference in New Issue
Block a user