aboutsummaryrefslogtreecommitdiffstats
path: root/script/rails-post-deploy
diff options
context:
space:
mode:
authorIan Chard <ian@mysociety.org>2013-08-01 11:59:17 +0100
committerIan Chard <ian@mysociety.org>2013-08-01 11:59:17 +0100
commit5c7e6392dd5c0209fb9ac85c03110628933ebb94 (patch)
tree1c33fc2eb07bc0cdae6f921e52875eb932fcb50a /script/rails-post-deploy
parentbb772f84b0d1f3b94cd4854cd75dc886d555d680 (diff)
Run migrations before trying to install theme
Diffstat (limited to 'script/rails-post-deploy')
-rwxr-xr-xscript/rails-post-deploy4
1 files changed, 1 insertions, 3 deletions
diff --git a/script/rails-post-deploy b/script/rails-post-deploy
index a3257cf35..f7ed8178b 100755
--- a/script/rails-post-deploy
+++ b/script/rails-post-deploy
@@ -91,9 +91,7 @@ then
fi
bundle install $bundle_install_options
-bundle exec rake themes:install
-
# upgrade database
bundle exec rake db:migrate #--trace
-
+bundle exec rake themes:install