Commit 07f10e60ac1081db209a08a604cbda7e2b2c8564
Committed by
Paulo Tada
1 parent
bafd7b6f
Exists in
mezuro_cookbook
Runs gitlab precompile task.
Signed-off-by: Macartur Sousa <macartur.sc@gmail.com>
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
cookbooks/gitlab/recipes/default.rb
... | ... | @@ -101,4 +101,5 @@ end |
101 | 101 | |
102 | 102 | execute 'fix-relative-url-for-assets' do |
103 | 103 | command 'sed -i \'s/# config.relative_url_root = "\/gitlab"/config.relative_url_root = "\/gitlab"/\' /usr/lib/gitlab/config/application.rb' |
104 | + command 'sudo -u git -H bundle exec rake assets:precompile RAILS_ENV=production' | |
104 | 105 | end | ... | ... |