fix
This commit is contained in:
parent
58236e0840
commit
0fc8aa9698
1 changed files with 3 additions and 3 deletions
|
|
@ -37,7 +37,7 @@ public function applicationStatusChanged()
|
||||||
protected function setDeploymentUuid()
|
protected function setDeploymentUuid()
|
||||||
{
|
{
|
||||||
$this->deploymentUuid = new Cuid2(7);
|
$this->deploymentUuid = new Cuid2(7);
|
||||||
$this->parameters['deployment_uuid'] = $this->deployment_uuid;
|
$this->parameters['deployment_uuid'] = $this->deploymentUuid;
|
||||||
}
|
}
|
||||||
public function deploy(bool $force = false, bool|null $debug = null)
|
public function deploy(bool $force = false, bool|null $debug = null)
|
||||||
{
|
{
|
||||||
|
|
@ -49,13 +49,13 @@ public function deploy(bool $force = false, bool|null $debug = null)
|
||||||
|
|
||||||
queue_application_deployment(
|
queue_application_deployment(
|
||||||
application_id: $this->application->id,
|
application_id: $this->application->id,
|
||||||
deployment_uuid: $this->deployment_uuid,
|
deployment_uuid: $this->deploymentUuid,
|
||||||
force_rebuild: $force,
|
force_rebuild: $force,
|
||||||
);
|
);
|
||||||
return redirect()->route('project.application.deployment', [
|
return redirect()->route('project.application.deployment', [
|
||||||
'project_uuid' => $this->parameters['project_uuid'],
|
'project_uuid' => $this->parameters['project_uuid'],
|
||||||
'application_uuid' => $this->parameters['application_uuid'],
|
'application_uuid' => $this->parameters['application_uuid'],
|
||||||
'deployment_uuid' => $this->deployment_uuid,
|
'deployment_uuid' => $this->deploymentUuid,
|
||||||
'environment_name' => $this->parameters['environment_name'],
|
'environment_name' => $this->parameters['environment_name'],
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue