gitlab: Simplify gitlab-assets build instructions

This commit is contained in:
Yaya 2024-03-28 10:09:47 +01:00 committed by Yureka
parent 774056a4e6
commit afce1683c0

View file

@ -144,11 +144,7 @@ let
buildPhase = ''
runHook preBuild
bundle exec rake gettext:compile RAILS_ENV=production NODE_ENV=production
bundle exec rake rake:assets:precompile RAILS_ENV=production NODE_ENV=production
bundle exec rake gitlab:assets:compile RAILS_ENV=production NODE_ENV=production
bundle exec rake gitlab:assets:fix_urls RAILS_ENV=production NODE_ENV=production
bundle exec rake gitlab:assets:check_page_bundle_mixins_css_for_sideeffects RAILS_ENV=production NODE_ENV=production
bundle exec rake gitlab:assets:compile RAILS_ENV=production NODE_ENV=production SKIP_YARN_INSTALL=true
runHook postBuild
'';