Compare commits
3 Commits
4e9e8f96ef
...
76dcd88ce8
Author | SHA1 | Date | |
---|---|---|---|
76dcd88ce8 | |||
5cfc465803 | |||
a6cb670788 |
2
.gitignore
vendored
2
.gitignore
vendored
@ -4,6 +4,8 @@
|
||||
# or operating system, you probably want to add a global ignore instead:
|
||||
# git config --global core.excludesfile '~/.gitignore_global'
|
||||
|
||||
/.DS_Store
|
||||
|
||||
# Ignore bundler config.
|
||||
/.bundle
|
||||
|
||||
|
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