PageRenderTime 47ms CodeModel.GetById 19ms RepoModel.GetById 0ms app.codeStats 0ms

/config/deploy.rb

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