Merge pull request #3299 from coollabsio/next

chore: Add cd command to change directory before removing .env file
This commit is contained in:
Andras Bacsai 2024-09-03 17:28:05 +02:00 committed by GitHub
commit 37915234ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1012,6 +1012,7 @@ public function saveComposeConfigs()
instant_scp($path, "{$workdir}/docker-compose.yml", $this->server);
Storage::disk('local')->delete("tmp/{$filename}");
$commands[] = "cd $workdir";
$commands[] = 'rm -f .env || true';
$envs_from_coolify = $this->environment_variables()->get();