aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/deploy.rb5
-rw-r--r--config/environment.rb2
2 files changed, 6 insertions, 1 deletions
diff --git a/config/deploy.rb b/config/deploy.rb
index 5e1c3aa0d..f95c93b3d 100644
--- a/config/deploy.rb
+++ b/config/deploy.rb
@@ -71,3 +71,8 @@ end
after 'deploy:update_code', 'deploy:symlink_configuration'
after 'deploy:update_code', 'rake:themes:install'
+
+# Put up a maintenance notice if doing a migration which could take a while
+before 'deploy:migrate', 'deploy:web:disable'
+after 'deploy:migrate', 'deploy:web:enable'
+
diff --git a/config/environment.rb b/config/environment.rb
index 4ae3f26d9..3ce887c03 100644
--- a/config/environment.rb
+++ b/config/environment.rb
@@ -36,7 +36,7 @@ require File.join(File.dirname(__FILE__), '../lib/old_rubygems_patch')
require 'configuration'
# Application version
-ALAVETELI_VERSION = '0.6.6'
+ALAVETELI_VERSION = '0.6.7'
Rails::Initializer.run do |config|
# Load intial mySociety config