fix: deployment should fail on error
This commit is contained in:
@@ -71,6 +71,9 @@ class RunRemoteProcess
|
||||
|
||||
$this->activity->save();
|
||||
|
||||
if ($processResult->exitCode() != 0 && $processResult->errorOutput()) {
|
||||
throw new \RuntimeException('Remote command failed');
|
||||
}
|
||||
return $processResult;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user