fix: git pull command for deploy key based previews

This commit is contained in:
Andras Bacsai 2024-01-16 15:45:19 +01:00
parent 2b1e35980f
commit 381e24bea5

View File

@ -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'],