Commit bd3f2f069ebb8a003cb8d13381dd3feccaca7923
Committed by
Sergio Oliveira
1 parent
2b579797
Exists in
master
and in
49 other branches
Runs gitlab precompile task.
Signed-off-by: Macartur Sousa <macartur.sc@gmail.com> (cherry picked from commit 68f0393c15de0a647344d00ace0a438847a69fb2)
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 | ... | ... |