Sha256: 29adc016782bace686c31985117f68d258a9244149a18f9708820bf8c0edf93d

Contents?: true

Size: 641 Bytes

Versions: 1

Compression:

Stored size: 641 Bytes

Contents

lock '3.8.1'

require 'dotenv'
Dotenv.load

set :application, '<%= name %>'
set :deploy_to, "/home/deployer/#{fetch(:application)}"
set :repo_url, `git remote get-url origin`.chomp
ask :branch, `git rev-parse --abbrev-ref HEAD`.chomp

set :cap_host, ENV['CAP_HOST']
set :cap_user, ENV['CAP_USER']

set :linked_files, %w(.env)
set :linked_dirs,  %w(log tmp/pids tmp/sockets)

set :default_env, path: '~/.rbenv/shims:~/.rbenv/bin:$PATH'

set :sidekiq_pid, File.join(shared_path, 'tmp', 'pids', 'sidekiq.pid')
set :sidekiq_config, File.join(current_path, 'config', 'sidekiq.yml')
set :sidekiq_require, File.join(current_path, 'app', 'boot.rb')

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
telegrator-0.2.0 lib/telegrator/generators/bot/templates/config/deploy.rb.tt