Sha256: b38f80da804ca4acab9662b62a73e7b7987610f4777c1ff2cadb2642e06a5a31
Contents?: true
Size: 974 Bytes
Versions: 4
Compression:
Stored size: 974 Bytes
Contents
# config valid only for current version of Capistrano lock '3.4.0' set :application, '<%= app_name.dasherize %>' set :user, 'deploy' # set :repo_url, 'git@github.com:organization/repository.git' set :rbenv_ruby, File.read('.ruby-version').strip set :rbenv_type, :user set :rbenv_bin_path, '/home/deploy/.rbenv/shims' # Always deploy the current branch. set :branch, `git rev-parse --abbrev-ref HEAD`.chomp set :deploy_to, '/home/deploy/<%= app_name.dasherize %>' set :log_level, :info set :linked_dirs, fetch(:linked_dirs, []).push('log', 'tmp/pids', 'tmp/cache') set :default_env, path: '/home/deploy/.rbenv/shims:$PATH' namespace :deploy do after :restart, :clear_cache do on roles(:web), in: :groups, limit: 3, wait: 10 do # Here we can do anything such as: # within release_path do # execute :rake, 'cache:clear' # end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
kratos-1.0.3 | templates/deploy_config.rb.erb |
kratos-1.0.2 | templates/deploy_config.rb.erb |
kratos-1.0.1 | templates/deploy_config.rb.erb |
kratos-1.0.0 | templates/deploy_config.rb.erb |