PageRenderTime 56ms CodeModel.GetById 31ms RepoModel.GetById 0ms app.codeStats 0ms

/config/deploy.rb

https://bitbucket.org/gastergaster/forumregis
Ruby | 44 lines | 6 code | 14 blank | 24 comment | 0 complexity | 1c7a2c0eb6ad10f4a2b8f665bf6b41fe MD5 | raw file
  1. # config valid for current version and patch releases of Capistrano
  2. lock "~> 3.10.1"
  3. set :application, "ForumRegis"
  4. set :repo_url, 'https://gastergaster@bitbucket.org/gastergaster/forumregis.git'
  5. set :deploy_to, '/home/deploy/ForumRegis'
  6. append :linked_files, "config/database.yml", "config/secrets.yml"
  7. append :linked_dirs, "log", "tmp/pids", "tmp/cache", "tmp/sockets", "vendor/bundle", "public/system", "public/uploads"
  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