Commit e1614466 authored by Thomas Löffler's avatar Thomas Löffler
Browse files

[BUGFIX] Add deactivation of maintenance mode if deploy failed

parent e14b0b27
Pipeline #29945 passed with stages
in 5 minutes and 59 seconds
......@@ -93,6 +93,8 @@ task('maintenance:deactivate', function () {
run('sudo /usr/sbin/service nginx reload');
});
after('deploy:failed', 'maintenance:deactivate');
task('deploy', [
'deploy:prepare',
'deploy:release',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment