aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscript/rails-post-deploy5
1 files changed, 4 insertions, 1 deletions
diff --git a/script/rails-post-deploy b/script/rails-post-deploy
index bd5165a72..a88e28b19 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
-bundle exec rake assets:precompile
+if [ "$OPTION_STAGING_SITE" = "0" ]
+then
+ bundle exec rake assets:precompile
+fi