run webpack target instead of webpack-prod

This commit is contained in:
Pirate Praveen 2017-09-01 17:19:32 +05:30
parent a1423d278a
commit 558f194c06

View file

@ -28,7 +28,7 @@ chmod 0700 ${gitlab_data_dir}/.gitlab_shell_secret
echo "Installing node modules"
runuser -u ${gitlab_user} -- sh -c 'install -d /var/lib/gitlab/node_modules'
runuser -u ${gitlab_user} -- sh -c 'npm install'
runuser -u ${gitlab_user} -- sh -c 'npm run webpack-prod'
runuser -u ${gitlab_user} -- sh -c 'npm run webpack'
echo "Precompiling assets..."
runuser -u ${gitlab_user} -- sh -c 'bundle exec rake tmp:cache:clear assets:precompile'