Sha256: 39eab204f3d5abae8da100cc0901c5e71e34dc39869a6649343e039e7aba76d7

Contents?: true

Size: 936 Bytes

Versions: 2

Compression:

Stored size: 936 Bytes

Contents

# config valid only for current version of Capistrano
lock '3.4.0'

set :application,      "application"
set :repo_url,         "git@github.com:kaspergrubbe/application.git"
set :deploy_to,        "/home/deploy/apps/#{fetch(:application)}"

set :user,               "deploy"
set :use_sudo,           false

# Default branch is :master
# ask :branch, `git rev-parse --abbrev-ref HEAD`.chomp

# Default value for :linked_files is []
# set :linked_files, fetch(:linked_files, []).push('config/database.yml', 'config/secrets.yml')

# Default value for linked_dirs is []
set :linked_dirs, fetch(:linked_dirs, []).push('log', 'tmp/pids', 'tmp/cache', 'tmp/sockets', 'vendor/bundle', 'public/system')

# Default value for default_env is {}
set :default_env, {
  PATH: "/home/#{fetch(:user)}/.rbenv/shims:/home/#{fetch(:user)}/.rbenv/bin:$PATH"
}

# Default value for keep_releases is 5
set :keep_releases, 5

after 'deploy', 'unicorn:restart'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
simple-capistrano-unicorn-1.0.2 configs/deploy.rb
simple-capistrano-unicorn-1.0.1 configs/deploy.rb