fix sync script

This commit is contained in:
Andras Bacsai
2023-04-28 14:34:25 +02:00
parent 8df0be52bf
commit 4519070995
2 changed files with 5 additions and 5 deletions

View File

@@ -61,10 +61,10 @@ class SyncToBunnyCDN extends Command
'AccessKey' => env('BUNNY_API_KEY'),
'Accept' => 'application/json',
])->get('https://api.bunny.net/purge', [
"url" => e("$bunny_cdn/$bunny_cdn_path/$compose_file"),
"url" => e("$bunny_cdn/$bunny_cdn_path/$compose_file_prod"),
"url" => e("$bunny_cdn/$bunny_cdn_path/$upgrade_script"),
"url" => e("$bunny_cdn/$bunny_cdn_path/$production_env")
"url" => "$bunny_cdn/$bunny_cdn_path/$compose_file",
"url" => "$bunny_cdn/$bunny_cdn_path/$compose_file_prod",
"url" => "$bunny_cdn/$bunny_cdn_path/$upgrade_script",
"url" => "$bunny_cdn/$bunny_cdn_path/$production_env"
]);
if ($res->ok()) {
echo 'All files uploaded & purged...';