An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix: deploykey branch
Andras Bacsai7811c75139da
diff --git a/app/Http/Livewire/Project/New/GithubPrivateRepositoryDeployKey.php b/app/Http/Livewire/Project/New/GithubPrivateRepositoryDeployKey.phpindex 72709f3676..cf8f56642a 100644--- a/app/Http/Livewire/Project/New/GithubPrivateRepositoryDeployKey.php+++ b/app/Http/Livewire/Project/New/GithubPrivateRepositoryDeployKey.php@@ -46,7 +46,6 @@ class GithubPrivateRepositoryDeployKey extends Componentprivate GithubApp|GitlabApp|null $git_source = null;private string $git_host;private string $git_repository;- private string $git_branch;public function mount(){@@ -96,7 +95,7 @@ class GithubPrivateRepositoryDeployKey extends Component$application_init = ['name' => generate_random_name(),'git_repository' => $this->git_repository,- 'git_branch' => $this->git_branch,+ 'git_branch' => $this->branch,'git_full_url' => "git@$this->git_host:$this->git_repository.git",'build_pack' => 'nixpacks','ports_exposes' => $this->port,@@ -132,11 +131,6 @@ class GithubPrivateRepositoryDeployKey extends Component$this->repository_url_parsed = Url::fromString($this->repository_url);$this->git_host = $this->repository_url_parsed->getHost();$this->git_repository = $this->repository_url_parsed->getSegment(1) . '/' . $this->repository_url_parsed->getSegment(2);- if ($this->branch) {- $this->git_branch = $this->branch;- } else {- $this->git_branch = $this->repository_url_parsed->getSegment(4) ?? 'main';- }if ($this->git_host == 'github.com') {$this->git_source = GithubApp::where('name', 'Public GitHub')->first();