From 9bd05b65a3e1a9873d604336a0b6ef59849b030f Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Wed, 24 Jan 2024 12:07:58 +0100 Subject: [PATCH] Update build pack and make GithubApp nullable --- app/Livewire/Project/New/PublicGitRepository.php | 2 +- app/Livewire/Source/Github/Change.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Livewire/Project/New/PublicGitRepository.php b/app/Livewire/Project/New/PublicGitRepository.php index 840a5bd78..dbf79958b 100644 --- a/app/Livewire/Project/New/PublicGitRepository.php +++ b/app/Livewire/Project/New/PublicGitRepository.php @@ -30,7 +30,7 @@ class PublicGitRepository extends Component public GithubApp|GitlabApp|string $git_source = 'other'; public string $git_host; public string $git_repository; - public $build_pack; + public $build_pack = 'nixpacks'; public bool $show_is_static = true; protected $rules = [ diff --git a/app/Livewire/Source/Github/Change.php b/app/Livewire/Source/Github/Change.php index bd8304c9e..020e9c6ad 100644 --- a/app/Livewire/Source/Github/Change.php +++ b/app/Livewire/Source/Github/Change.php @@ -17,7 +17,7 @@ class Change extends Component public ?bool $preview_deployment_permissions = true; public $parameters; - public GithubApp $github_app; + public ?GithubApp $github_app; public string $name; public bool $is_system_wide;