Skip to content

Commit 3791523

Browse files
authored
Merge pull request coollabsio#3299 from coollabsio/next
chore: Add cd command to change directory before removing .env file
2 parents 3badbaf + eaabf94 commit 3791523

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/Models/Service.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1012,6 +1012,7 @@ public function saveComposeConfigs()
10121012
instant_scp($path, "{$workdir}/docker-compose.yml", $this->server);
10131013
Storage::disk('local')->delete("tmp/{$filename}");
10141014

1015+
$commands[] = "cd $workdir";
10151016
$commands[] = 'rm -f .env || true';
10161017

10171018
$envs_from_coolify = $this->environment_variables()->get();

0 commit comments

Comments
 (0)