use NODE_ENV=production when compiling assets in upgrader script
This commit is contained in:
parent
2f0d0b510d
commit
cda34805da
1 changed files with 4 additions and 1 deletions
|
@ -67,7 +67,10 @@ module Gitlab
|
|||
end
|
||||
|
||||
def env
|
||||
{ 'RAILS_ENV' => 'production' }
|
||||
{
|
||||
'RAILS_ENV' => 'production',
|
||||
'NODE_ENV' => 'production'
|
||||
}
|
||||
end
|
||||
|
||||
def upgrade
|
||||
|
|
Loading…
Reference in a new issue