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"