fix: deployment should fail on error

This commit is contained in:
Andras Bacsai committed 2023-04-04 14:23:10 +02:00
1 parent 91e4280f6b
commit 302f224bc0
2 files changed
+4 -3

No files matched your search

@@ -71,6 +71,9 @@ class RunRemoteProcess
$this->activity->save();
if ($processResult->exitCode() != 0 && $processResult->errorOutput()) {
throw new \RuntimeException('Remote command failed');
}
return $processResult;
}