clear assets cache before precompile

This commit is contained in:
Praveen Arimbrathodiyil 2016-08-31 13:33:35 +05:30
parent 5300f5a8db
commit d806b1d4c5

View file

@ -39,7 +39,7 @@ chmod 0700 ${gitlab_app_root}/config/secrets.yml
echo "Precompiling assets..."
su ${gitlab_user} -s /bin/sh -c 'bundle exec rake assets:precompile RAILS_ENV=production'
su ${gitlab_user} -s /bin/sh -c 'bundle exec rake tmp:cache:clear assets:precompile RAILS_ENV=production'
# Start gitlab
printf "Starting GitLab...\n"