Fix deploy, yo.

This commit is contained in:
Georg Gadinger 2017-03-31 22:46:21 +02:00
parent 71de580878
commit 577bf1aea1
2 changed files with 3 additions and 3 deletions

View File

@ -41,7 +41,7 @@ set :rollbar_env, Proc.new { fetch :stage }
set :rollbar_role, Proc.new { :app } set :rollbar_role, Proc.new { :app }
# Create JS i18n files after precompiling assets # Create JS i18n files after precompiling assets
after 'assets:precompile', 'i18n:js_assets' after 'deploy:assets:precompile', 'deploy:i18n_assets'
# Restart the app server after successful deploy # Restart the app server after successful deploy
after 'deploy:cleanup', 'deploy:restart' after 'deploy:cleanup', 'deploy:restart'

View File

@ -1,5 +1,5 @@
namespace :i18n do namespace :deploy do
task :js_assets do task :i18n_js do
within release_path do within release_path do
with rails_env: fetch(:rails_env), rails_groups: fetch(:rails_assets_groups) do with rails_env: fetch(:rails_env), rails_groups: fetch(:rails_assets_groups) do
execute :rake, "i18n:js:export" execute :rake, "i18n:js:export"