fix: commit message length
This commit is contained in:
parent
36e8c52b01
commit
9f506eb83a
@ -1179,12 +1179,11 @@ class ApplicationDeploymentJob implements ShouldQueue, ShouldBeEncrypted
|
|||||||
]
|
]
|
||||||
);
|
);
|
||||||
if ($this->saved_outputs->get('commit_message')) {
|
if ($this->saved_outputs->get('commit_message')) {
|
||||||
$commit_message = str($this->saved_outputs->get('commit_message'))->limit(50);
|
$commit_message = str($this->saved_outputs->get('commit_message'))->limit(47);
|
||||||
$this->application_deployment_queue->commit_message = $commit_message->value();
|
$this->application_deployment_queue->commit_message = $commit_message->value();
|
||||||
ApplicationDeploymentQueue::whereCommit($this->commit)->whereApplicationId($this->application->id)->update(
|
ApplicationDeploymentQueue::whereCommit($this->commit)->whereApplicationId($this->application->id)->update(
|
||||||
['commit_message' => $commit_message->value()]
|
['commit_message' => $commit_message->value()]
|
||||||
);
|
);
|
||||||
$this->application_deployment_queue->save();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user