From 381e24bea56788b6d5b5a7d1795f22f28ff5003e Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Tue, 16 Jan 2024 15:45:19 +0100 Subject: [PATCH] fix: git pull command for deploy key based previews --- app/Livewire/Project/Application/Previews.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Livewire/Project/Application/Previews.php b/app/Livewire/Project/Application/Previews.php index dffb9461c..57cb43302 100644 --- a/app/Livewire/Project/Application/Previews.php +++ b/app/Livewire/Project/Application/Previews.php @@ -49,8 +49,9 @@ class Previews extends Component queue_application_deployment( application_id: $this->application->id, deployment_uuid: $this->deployment_uuid, - force_rebuild: true, + force_rebuild: false, pull_request_id: $pull_request_id, + git_type: $found->git_type ?? null, ); return redirect()->route('project.application.deployment.show', [ 'project_uuid' => $this->parameters['project_uuid'],