workaround for pikaday

This commit is contained in:
Pirate Praveen 2018-02-09 13:09:00 +05:30
parent 04acf3e6a4
commit 6376ac7a77

View file

@ -34,4 +34,6 @@ runuser -u ${gitlab_user} -- sh -c 'npm install'
runuser -u ${gitlab_user} -- sh -c 'NODE_PATH=/usr/share/gitlab/node_modules webpack --config config/webpack.config.js'
echo "Precompiling assets..."
# Workaround for sass not finding pikaday from global path
runuser -u ${gitlab_user} -- sh -c 'cp -r /usr/lib/nodejs/pikaday /var/lib/gitlab/node_modules'
runuser -u ${gitlab_user} -- sh -c 'bundle exec rake tmp:cache:clear assets:precompile'