From bfccf98d99205cf7f2e5628dcc7ee23ddd1f1215 Mon Sep 17 00:00:00 2001 From: alex Date: Mon, 1 Jul 2024 15:44:30 +0100 Subject: [PATCH] main: fix health worker wrnagler names --- apps/health-worker/wrangler.toml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/apps/health-worker/wrangler.toml b/apps/health-worker/wrangler.toml index ecb2ef3a0..f592b596e 100644 --- a/apps/health-worker/wrangler.toml +++ b/apps/health-worker/wrangler.toml @@ -1,2 +1,17 @@ main = "src/index.ts" compatibility_date = "2023-12-18" + +#################### Environment names #################### +# dev should never actually get deployed anywhere +[env.dev] +name = "health-worker-dev" + +# we don't have a hard-coded name for preview. we instead have to generate it at build time and append it to this file. + +# staging is the same as a preview on main: +[env.staging] +name = "health-worker-staging" + +# production gets the proper name +[env.production] +name = "health-worker-production"