run webpack
This commit is contained in:
parent
302dbd50e4
commit
14d8f10bf7
1 changed files with 2 additions and 0 deletions
2
debian/rake-tasks.sh
vendored
2
debian/rake-tasks.sh
vendored
|
@ -26,7 +26,9 @@ fi
|
|||
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'
|
||||
|
||||
echo "Precompiling assets..."
|
||||
runuser -u ${gitlab_user} -- sh -c 'bundle exec rake tmp:cache:clear assets:precompile'
|
||||
|
|
Loading…
Reference in a new issue