feat(cdn): add patch.sh to sync:cdn

This commit is contained in:
peaklabs-dev
2026-10-21 16:16:13 +02:00
parent 86c21c0d5b
commit eeda30719f
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -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',
];
}
+2
View File
@@ -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([