PageRenderTime 49ms CodeModel.GetById 24ms RepoModel.GetById 1ms app.codeStats 0ms

/config/deploy/scm.rb

https://bitbucket.org/travis_dunn/trail-of-secrets
Ruby | 18 lines | 10 code | 4 blank | 4 comment | 0 complexity | 16368e7c4cc20856d20db91b586cb411 MD5 | raw file
Possible License(s): MIT, Apache-2.0
  1. # SCM settings
  2. # REF: https://bitbucket.org/site/master/issue/4600/cannot-clone-a-public-wiki-over-ssh
  3. # set :repository, "git@bitbucket.org:travis_dunn/trail-of-secrets.git"
  4. set :scm, :git
  5. set :repository, "https://travis_dunn@bitbucket.org/travis_dunn/trail-of-secrets.git"
  6. set :scm_verbose, true
  7. set :git_enable_submodules, 1
  8. set :keep_releases, 2
  9. set :deploy_via, :remote_cache
  10. set :deploy_to, "/var/www/#{application}"
  11. # Git settings for capistrano
  12. default_run_options[:pty] = true
  13. ssh_options[:forward_agent] = true
  14. after "deploy:update", "deploy:cleanup"