fix: deployment should fail on error
This commit is contained in:
@@ -279,15 +279,13 @@ class DeployApplicationJob implements ShouldQueue
|
||||
'hideFromOutput' => $hideFromOutput,
|
||||
'setStatus' => $setStatus,
|
||||
]);
|
||||
$result = $remoteProcess();
|
||||
|
||||
if ($propertyName) {
|
||||
$result = $remoteProcess();
|
||||
$this->activity->properties = $this->activity->properties->merge([
|
||||
$propertyName => trim($result->output()),
|
||||
]);
|
||||
$this->activity->save();
|
||||
} else {
|
||||
$remoteProcess();
|
||||
}
|
||||
}
|
||||
private function gitImport()
|
||||
|
||||
Reference in New Issue
Block a user