diff --git a/config/deploy.rb b/config/deploy.rb index 7be2945..f937f68 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -2,10 +2,10 @@ lock '3.2.1' set :application, 'vlibras-web2' -set :repo_url, 'git@bitbucket.org:fernandobrito/vlibras-web2.git' +set :repo_url, 'git@git.lavid.ufpb.br:vlibras-web2.git' # Default branch is :master -# ask :branch, proc { `git rev-parse --abbrev-ref HEAD`.chomp }.call +ask :branch, proc { `git rev-parse --abbrev-ref HEAD`.chomp }.call # Default deploy_to directory is /var/www/my_app set :deploy_to, '/srv/vlibras-web2/' @@ -53,8 +53,9 @@ namespace :deploy do on roles(:web), in: :groups, limit: 3, wait: 10 do # Here we can do anything such as: #within release_path do - # execute :rake, 'assets:clean -e production' - # execute :rake, 'tmp:clear -e production' + #execute :rake, 'assets:clobber' + #execute :rake, 'assets:precompile' + # execute :rake, 'tmp:clear -e production' #end end end -- libgit2 0.21.2