Wrangling the wrangler

This commit is contained in:
2026-06-21 06:00:20 -04:00
parent ed7597f879
commit 72731306ff
8 changed files with 170 additions and 131 deletions
+18
View File
@@ -0,0 +1,18 @@
# Copy to .env.worker.test and fill in the values for test deploys.
PUBLIC_SITE_URL=https://new.swansea-airport.wales
PUBLIC_PPR_API_BASE=https://pprdev.pattinson.org/api/v1
PUBLIC_WEATHER_BASE=https://wx.swansea-airport.wales
PUBLIC_WEATHER_MQTT_HOST=https://wx.swansea-airport.wales/mqtt
DIRECTUS_URL=https://egfhcmstest.pattinson.org
DIRECTUS_PUBLIC_URL=https://egfhcmstest.pattinson.org
DIRECTUS_ADMIN_TOKEN=replace-with-test-directus-token
DIRECTUS_HOMEPAGE_BANNER_FOLDER=homepage-banners
CF_WORKER_NAME=egfh
CF_WORKER_COMPATIBILITY_DATE=2026-06-21
# Optional. Use one of these if you want the deploy command to attach a route or custom domain.
# CF_WORKER_ROUTE=test.swansea-airport.wales/*
# CF_WORKER_DOMAIN=test.swansea-airport.wales
CLOUDFLARE_ACCOUNT_ID=replace-with-cloudflare-account-id
CLOUDFLARE_API_TOKEN=replace-with-cloudflare-api-token