diff --git a/lib/capdrupal.rb b/lib/capdrupal.rb index 87576f0..7ad33d9 100644 --- a/lib/capdrupal.rb +++ b/lib/capdrupal.rb @@ -153,7 +153,7 @@ desc "Remove maintenance mode" task :off do on roles(:app) do - within release_path.join(fetch(:app_path)) do + within current_path.join(fetch(:app_path)) do execute :drush, "state:set system.maintenance_mode 0 -y" execute :drush, 'cr' end