fix: git pull command for deploy key based previews
This commit is contained in:
parent
2b1e35980f
commit
381e24bea5
1 changed files with 2 additions and 1 deletions
|
|
@ -49,8 +49,9 @@ public function deploy(int $pull_request_id, string|null $pull_request_html_url
|
||||||
queue_application_deployment(
|
queue_application_deployment(
|
||||||
application_id: $this->application->id,
|
application_id: $this->application->id,
|
||||||
deployment_uuid: $this->deployment_uuid,
|
deployment_uuid: $this->deployment_uuid,
|
||||||
force_rebuild: true,
|
force_rebuild: false,
|
||||||
pull_request_id: $pull_request_id,
|
pull_request_id: $pull_request_id,
|
||||||
|
git_type: $found->git_type ?? null,
|
||||||
);
|
);
|
||||||
return redirect()->route('project.application.deployment.show', [
|
return redirect()->route('project.application.deployment.show', [
|
||||||
'project_uuid' => $this->parameters['project_uuid'],
|
'project_uuid' => $this->parameters['project_uuid'],
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue