PageRenderTime 38ms CodeModel.GetById 13ms RepoModel.GetById 0ms app.codeStats 0ms

/config/deploy.rb

https://bitbucket.org/reffect/barkalla_rails
Ruby | 47 lines | 8 code | 14 blank | 25 comment | 0 complexity | 8de0d7621acac825a9b616c7db521a17 MD5 | raw file
  1. # config valid for current version and patch releases of Capistrano
  2. lock "~> 3.10.1"
  3. set :application, "barkalla_rails"
  4. set :repo_url, "git@bitbucket.org:reffect/barkalla_rails.git"
  5. # Default branch is :master
  6. # ask :branch, `git rev-parse --abbrev-ref HEAD`.chomp
  7. # Default deploy_to directory is /var/www/my_app_name
  8. set :deploy_to, "/home/deploy/apps/barkalla_bot"
  9. # Default value for :linked_files is []
  10. append :linked_files, 'config/database.yml', 'config/secrets.yml', 'app/views/layouts/_counter.html.erb'
  11. # Default value for linked_dirs is []
  12. append :linked_dirs, 'log', 'tmp/pids', 'tmp/cache', 'tmp/sockets', 'public/system', 'public/uploads'
  13. after 'deploy:restart', 'telegram:start'
  14. after 'deploy', 'telegram:start'
  15. # Default value for :format is :airbrussh.
  16. # set :format, :airbrussh
  17. # You can configure the Airbrussh format using :format_options.
  18. # These are the defaults.
  19. # set :format_options, command_output: true, log_file: "log/capistrano.log", color: :auto, truncate: :auto
  20. # Default value for :pty is false
  21. # set :pty, true
  22. # Default value for :linked_files is []
  23. # append :linked_files, "config/database.yml", "config/secrets.yml"
  24. # Default value for linked_dirs is []
  25. # append :linked_dirs, "log", "tmp/pids", "tmp/cache", "tmp/sockets", "public/system"
  26. # Default value for default_env is {}
  27. # set :default_env, { path: "/opt/ruby/bin:$PATH" }
  28. # Default value for local_user is ENV['USER']
  29. # set :local_user, -> { `git config user.name`.chomp }
  30. # Default value for keep_releases is 5
  31. # set :keep_releases, 5
  32. # Uncomment the following to require manually verifying the host key before first deploy.
  33. # set :ssh_options, verify_host_key: :secure