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 same commands different batch
mahansky3b533c7d065e
diff --git a/bootstrap/helpers/remoteProcess.php b/bootstrap/helpers/remoteProcess.phpindex c3f8316e76..cccc41e71a 100644--- a/bootstrap/helpers/remoteProcess.php+++ b/bootstrap/helpers/remoteProcess.php@@ -249,8 +249,11 @@ function decode_remote_command_output(?ApplicationDeploymentQueue $application_d->reduce(function ($deploymentLogLines, $logItem) use ($seenCommands) {$command = $logItem['command'];$isStderr = $logItem['type'] === 'stderr';+ $isNewCommand = ! is_null($command) && ! $seenCommands->first(function ($seenCommand) use ($logItem) {+ return $seenCommand['command'] === $logItem['command'] && $seenCommand['batch'] === $logItem['batch'];+ });- if (! is_null($command) && ! $seenCommands->contains($command)) {+ if ($isNewCommand) {$deploymentLogLines->push(['line' => $command,'timestamp' => $logItem['timestamp'],@@ -259,7 +262,10 @@ function decode_remote_command_output(?ApplicationDeploymentQueue $application_d'command' => true,]);- $seenCommands->push($command);+ $seenCommands->push([+ 'command' => $command,+ 'batch' => $logItem['batch'],+ ]);}$lines = explode(PHP_EOL, $logItem['output']);