mirror of
https://github.com/immich-app/geoshenanigans.git
synced 2026-09-30 13:23:08 +08:00
chore: use script location not cwd for finding tiles.tfvars file (#136)
This commit is contained in:
@@ -13,7 +13,7 @@ fi
|
||||
regions=("apac" "eeur" "enam" "wnam" "weur" "oc")
|
||||
|
||||
# Define the path to the JSON file
|
||||
json_file="../modules/cloudflare/tiles-worker/tiles.tfvars.json"
|
||||
json_file="$(dirname "$0")/../modules/cloudflare/tiles-worker/tiles.tfvars.json"
|
||||
|
||||
# Extract the value of pmtiles_deployment_key using jq
|
||||
pmtiles_deployment_key=$(cat "$json_file" | jq -r '.pmtiles_deployment_key')
|
||||
|
||||
Reference in New Issue
Block a user