From b4c06ec22b4dad1d29e1c4440ff76cf8fbefb526 Mon Sep 17 00:00:00 2001 From: Fernando Brito Date: Wed, 20 Aug 2014 10:41:29 -0300 Subject: [PATCH] Update git repository on deploy config file --- config/deploy.rb | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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