mirror of
https://github.com/coollabsio/coolify.git
synced 2026-11-06 13:10:37 -04:00
feat(cdn): add patch.sh to sync:cdn
This commit is contained in:
@@ -312,6 +312,7 @@ class SyncCdn extends Command
|
||||
$install_script_location = "$parent_dir/scripts/install.sh";
|
||||
$upgrade_script_location = "$parent_dir/scripts/upgrade.sh";
|
||||
$upgrade_postgres_script_location = "$parent_dir/scripts/upgrade-postgres.sh";
|
||||
$patch_script_location = "$parent_dir/scripts/patch.sh";
|
||||
$production_env_location = "$parent_dir/.env.production";
|
||||
$service_template_location = "$parent_dir/templates/$service_template";
|
||||
$versions_location = "$parent_dir/$versions";
|
||||
@@ -346,6 +347,7 @@ class SyncCdn extends Command
|
||||
$install_script_location => 'json/coolify/install.sh',
|
||||
$upgrade_script_location => 'json/coolify/upgrade.sh',
|
||||
$upgrade_postgres_script_location => 'json/coolify/upgrade-postgres.sh',
|
||||
$patch_script_location => 'json/coolify/patch.sh',
|
||||
$service_template_location => 'json/coolify/service-templates-latest.json',
|
||||
];
|
||||
}
|
||||
|
||||
@@ -97,6 +97,7 @@ SH);
|
||||
'install.sh',
|
||||
'upgrade.sh',
|
||||
'upgrade-postgres.sh',
|
||||
...($environment === 'production' ? ['patch.sh'] : []),
|
||||
'service-templates-latest.json',
|
||||
];
|
||||
$allTargets = array_map(fn (string $file) => "$targetDirectory/$file", $allBasenames);
|
||||
@@ -179,6 +180,7 @@ it('purges the CDN files from the Cloudflare cache', function (string $environme
|
||||
'install.sh',
|
||||
'upgrade.sh',
|
||||
'upgrade-postgres.sh',
|
||||
...($environment === 'production' ? ['patch.sh'] : []),
|
||||
'service-templates-latest.json',
|
||||
]))->all());
|
||||
})->with([
|
||||
|
||||
Reference in New Issue
Block a user