diff --git a/recipe/common.php b/recipe/common.php index a21927ef..bd2a343c 100644 --- a/recipe/common.php +++ b/recipe/common.php @@ -141,4 +141,6 @@ task('success', function () { */ task('deploy:failed', function () { })->setPrivate(); + onFailure('deploy', 'deploy:failed'); +before('deploy:failed', 'deploy:unlock');