F5 Test changes

This commit is contained in:
2015-10-05 18:05:57 +02:00
parent 2bb597419d
commit c93d6bec8a
16 changed files with 132 additions and 47 deletions
+2 -1
View File
@@ -16,6 +16,7 @@ set :deploy_via, :remote_cache
set :branch, :master
set :user, 'root'
set :deploy_to, '/var/www/mozo.bar'
set :bundle_without, %w[development test assets].join(' ')
# Default value for :scm is :git
# set :scm, :git
@@ -105,7 +106,7 @@ namespace :deploy do
#end
#end
rsync_host = host
run_locally { execute "rsync -av --delete ./public/assets/ #{fetch(:user)}@#{rsync_host}:#{shared_path}/public/assets/" }
run_locally { execute "rsync -av --delete --ignore-times ./public/assets/ #{fetch(:user)}@#{rsync_host}:#{shared_path}/public/assets/" }
#run_locally { execute "rsync -av ./public/assets/ #{fetch(:user)}@#{rsync_host}:#{shared_path}/public/assets/" }
execute :chown, "-R www-data:www-data", shared_path.join('public/assets/')