fix: isCloud in production seeder

This commit is contained in:
Andras Bacsai 2023-10-12 11:36:44 +02:00
parent 972223f01b
commit c422b4dbcf
4 changed files with 4 additions and 4 deletions

View File

@ -7,7 +7,7 @@ return [
// The release version of your application
// Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD'))
'release' => '4.0.0-beta.80',
'release' => '4.0.0-beta.81',
// When left empty or `null` the Laravel environment will be used
'environment' => config('app.env'),

View File

@ -1,3 +1,3 @@
<?php
return '4.0.0-beta.80';
return '4.0.0-beta.81';

View File

@ -60,7 +60,7 @@ class ProductionSeeder extends Seeder
]);
}
if (config('app.name') !== 'Coolify Cloud') {
if (!isCloud()) {
// Save SSH Keys for the Coolify Host
$coolify_key_name = "id.root@host.docker.internal";
$coolify_key = Storage::disk('ssh-keys')->get("{$coolify_key_name}");

View File

@ -4,7 +4,7 @@
"version": "3.12.36"
},
"v4": {
"version": "4.0.0-beta.80"
"version": "4.0.0-beta.81"
}
}
}