clear assets cache before precompile
This commit is contained in:
parent
5300f5a8db
commit
d806b1d4c5
1 changed files with 1 additions and 1 deletions
2
debian/rake-tasks.sh
vendored
2
debian/rake-tasks.sh
vendored
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue