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
Merge branch 'next' into fix/improved-responses-on-git-error
Andras Bacsaiad775ba1f081
diff --cc app/Models/Application.phpindex e3d05bc2cf,e79a5e7029..dd7c446b59--- a/app/Models/Application.php+++ b/app/Models/Application.php@@@ -1076,17 -1199,7 +1314,12 @@@ class Application extends BaseMode['commands' => $cloneCommand] = $this->generateGitImportCommands(deployment_uuid: $uuid, only_checkout: true, exec_in_docker: false, custom_base_dir: '.');$workdir = rtrim($this->base_directory, '/');$composeFile = $this->docker_compose_location;- // $prComposeFile = $this->docker_compose_pr_location;$fileList = collect([".$workdir$composeFile"]);- // if ($composeFile !== $prComposeFile) {- // $fileList->push(".$prComposeFile");- // }-+ $gitRemoteStatus = $this->getGitRemoteStatus(deployment_uuid: $uuid);+ if (! $gitRemoteStatus['is_accessible']) {+ throw new \RuntimeException("Failed to read Git source:\n\n{$gitRemoteStatus['error']}");+ }+$commands = collect(["rm -rf /tmp/{$uuid}","mkdir -p /tmp/{$uuid}",