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 @@ 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...';

View File

@ -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"