Skip to content

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.

pint

Andras Bacsaiff016cb2a26f
diff --git a/app/Models/Application.php b/app/Models/Application.php
index dd7c446b59..c284528f1a 100644
--- a/app/Models/Application.php
+++ b/app/Models/Application.php
@@ -944,6 +944,7 @@ class Application extends BaseModel
try {
['commands' => $lsRemoteCommand] = $this->generateGitLsRemoteCommands(deployment_uuid: $deployment_uuid, exec_in_docker: false);
instant_remote_process([$lsRemoteCommand], $this->destination->server, true);
+
return [
'is_accessible' => true,
'error' => null,
@@ -961,7 +962,7 @@ class Application extends BaseModel
$branch = $this->git_branch;
['repository' => $customRepository, 'port' => $customPort] = $this->customRepository();
$commands = collect([]);
- $base_command = "git ls-remote";
+ $base_command = 'git ls-remote';
if ($this->deploymentType() === 'source') {
$source_html_url = data_get($this, 'source.html_url');