Commit 3b478096211e75dbe8355e0bc98b7a2820cd24b0
1 parent
45b24269
Exists in
master
and in
1 other branch
Update git repository on deploy config file
Showing
1 changed file
with
5 additions
and
4 deletions
Show diff stats
config/deploy.rb
| @@ -2,10 +2,10 @@ | @@ -2,10 +2,10 @@ | ||
| 2 | lock '3.2.1' | 2 | lock '3.2.1' |
| 3 | 3 | ||
| 4 | set :application, 'vlibras-web2' | 4 | set :application, 'vlibras-web2' |
| 5 | -set :repo_url, 'git@bitbucket.org:fernandobrito/vlibras-web2.git' | 5 | +set :repo_url, 'git@git.lavid.ufpb.br:vlibras-web2.git' |
| 6 | 6 | ||
| 7 | # Default branch is :master | 7 | # Default branch is :master |
| 8 | -# ask :branch, proc { `git rev-parse --abbrev-ref HEAD`.chomp }.call | 8 | +ask :branch, proc { `git rev-parse --abbrev-ref HEAD`.chomp }.call |
| 9 | 9 | ||
| 10 | # Default deploy_to directory is /var/www/my_app | 10 | # Default deploy_to directory is /var/www/my_app |
| 11 | set :deploy_to, '/srv/vlibras-web2/' | 11 | set :deploy_to, '/srv/vlibras-web2/' |
| @@ -53,8 +53,9 @@ namespace :deploy do | @@ -53,8 +53,9 @@ namespace :deploy do | ||
| 53 | on roles(:web), in: :groups, limit: 3, wait: 10 do | 53 | on roles(:web), in: :groups, limit: 3, wait: 10 do |
| 54 | # Here we can do anything such as: | 54 | # Here we can do anything such as: |
| 55 | #within release_path do | 55 | #within release_path do |
| 56 | - # execute :rake, 'assets:clean -e production' | ||
| 57 | - # execute :rake, 'tmp:clear -e production' | 56 | + #execute :rake, 'assets:clobber' |
| 57 | + #execute :rake, 'assets:precompile' | ||
| 58 | + # execute :rake, 'tmp:clear -e production' | ||
| 58 | #end | 59 | #end |
| 59 | end | 60 | end |
| 60 | end | 61 | end |