deploy upgrades
This commit is contained in:
@@ -3,7 +3,7 @@ require 'capistrano/setup'
|
|||||||
|
|
||||||
# Includes default deployment tasks
|
# Includes default deployment tasks
|
||||||
require 'capistrano/deploy'
|
require 'capistrano/deploy'
|
||||||
|
require "capistrano/scm/git"
|
||||||
# Includes tasks from other gems included in your Gemfile
|
# Includes tasks from other gems included in your Gemfile
|
||||||
#
|
#
|
||||||
# For documentation on these, see for example:
|
# For documentation on these, see for example:
|
||||||
|
|||||||
+1
-1
@@ -471,7 +471,7 @@ GEM
|
|||||||
xpath (3.2.0)
|
xpath (3.2.0)
|
||||||
nokogiri (~> 1.8)
|
nokogiri (~> 1.8)
|
||||||
yard (0.9.24)
|
yard (0.9.24)
|
||||||
zeitwerk (2.2.2)
|
zeitwerk (2.3.0)
|
||||||
|
|
||||||
PLATFORMS
|
PLATFORMS
|
||||||
ruby
|
ruby
|
||||||
|
|||||||
@@ -6,11 +6,6 @@
|
|||||||
//= link cmtool/application.js
|
//= link cmtool/application.js
|
||||||
//= link cmtool/application.css
|
//= link cmtool/application.css
|
||||||
//
|
//
|
||||||
//= link supplier/foundation1/application.js
|
|
||||||
//= link supplier/foundation1/application.css
|
|
||||||
//
|
|
||||||
//= link supplier/app/application.js
|
|
||||||
//
|
|
||||||
//= link qr_sheet/application.css
|
//= link qr_sheet/application.css
|
||||||
//
|
//
|
||||||
//= link user/foundation/application.css
|
//= link user/foundation/application.css
|
||||||
|
|||||||
+3
-3
@@ -94,9 +94,9 @@ namespace :deploy do
|
|||||||
on roles(fetch(:assets_roles)) do
|
on roles(fetch(:assets_roles)) do
|
||||||
run_locally do
|
run_locally do
|
||||||
with rails_env: fetch(:stage) do
|
with rails_env: fetch(:stage) do
|
||||||
execute "RAILS_GROUPS=assets RAILS_ENV=#{fetch(:stage)} DEPLOY=yes bin/rake assets:precompile"
|
execute "RAILS_GROUPS=assets RAILS_ENV=#{fetch(:stage)} DEPLOY=yes bundle exec rails assets:precompile"
|
||||||
execute "RAILS_GROUPS=assets RAILS_ENV=#{fetch(:stage)} DEPLOY=yes bin/rake assets:dedigest"
|
execute "RAILS_GROUPS=assets RAILS_ENV=#{fetch(:stage)} DEPLOY=yes bundle exec rails assets:dedigest"
|
||||||
execute "RAILS_GROUPS=assets RAILS_ENV=#{fetch(:stage)} DEPLOY=yes bin/rake assets:gzip"
|
#execute "RAILS_GROUPS=assets RAILS_ENV=#{fetch(:stage)} DEPLOY=yes bin/rake assets:gzip"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user