Commit cda34805 authored by Mike Greiling's avatar Mike Greiling

use NODE_ENV=production when compiling assets in upgrader script

parent 2f0d0b51
......@@ -67,7 +67,10 @@ module Gitlab
end
def env
{ 'RAILS_ENV' => 'production' }
{
'RAILS_ENV' => 'production',
'NODE_ENV' => 'production'
}
end
def upgrade
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment