From 272c53a249abe4d302586c2b668d05306c978d8b Mon Sep 17 00:00:00 2001 From: Louise Crow Date: Tue, 3 Dec 2013 11:20:12 +0000 Subject: Only precompile assets on non-staging sites. --- script/rails-post-deploy | 3 +++ 1 file changed, 3 insertions(+) (limited to 'script/rails-post-deploy') diff --git a/script/rails-post-deploy b/script/rails-post-deploy index bd5165a72..9b3730323 100755 --- a/script/rails-post-deploy +++ b/script/rails-post-deploy @@ -97,4 +97,7 @@ bundle exec rake db:migrate #--trace bundle exec rake themes:install +if [ "$OPTION_STAGING_SITE" = "0" ] +then bundle exec rake assets:precompile +fi -- cgit v1.2.3