Compare commits

...

3 Commits

Author SHA1 Message Date
76dcd88ce8 suite 2019-05-23 15:35:25 +02:00
5cfc465803 suite 2019-05-23 15:35:10 +02:00
a6cb670788 suite 2019-05-23 15:34:15 +02:00
3 changed files with 7 additions and 3 deletions

2
.gitignore vendored
View File

@ -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

View File

@ -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"

View File

@ -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
# ==================