diff --git a/app/Console/Commands/SyncToBunnyCDN.php b/app/Console/Commands/SyncToBunnyCDN.php index 9b9357132..2333a8d8c 100644 --- a/app/Console/Commands/SyncToBunnyCDN.php +++ b/app/Console/Commands/SyncToBunnyCDN.php @@ -61,10 +61,10 @@ public function handle() '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...'; diff --git a/scripts/upgrade.sh b/scripts/upgrade.sh index 199989a61..942593bea 100644 --- a/scripts/upgrade.sh +++ b/scripts/upgrade.sh @@ -1,5 +1,5 @@ #!/bin/bash ## Do not modify this file. You will lost the ability to autoupdate! -VERSION="0.1.1" +VERSION="0.1.0" docker run --pull always -v /data/coolify/source:/data/coolify/source -v /var/run/docker.sock:/var/run/docker.sock --rm ghcr.io/coollabsio/coolify-builder bash -c "APP_TAG=${1:-} docker compose --env-file /data/coolify/source/.env -f /data/coolify/source/docker-compose.yml -f /data/coolify/source/docker-compose.prod.yml up -d --pull always --remove-orphans --force-recreate"