From 5b0829eac49da5f930036a385735ca0e31fbf0b6 Mon Sep 17 00:00:00 2001 From: Corwin Perren Date: Wed, 9 Jul 2025 04:00:57 -0700 Subject: [PATCH] Make build environment public for merge --- Dockerfile | 2 +- src/components/Footer.astro | 2 +- src/env.d.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 610e118..8a2a98d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,7 +20,7 @@ ARG BUILD_ENVIRONMENT ARG PROJECT_VERSION RUN echo "PUBLIC_REPO_VERSION_HASH=\"${REPO_VERSION_HASH}\" \n\ - BUILD_ENVIRONMENT=\"${BUILD_ENVIRONMENT}\" \n\ + PUBLIC_BUILD_ENVIRONMENT=\"${BUILD_ENVIRONMENT}\" \n\ PUBLIC_PROJECT_VERSION=\"${PROJECT_VERSION}\"" >> .env RUN npm run build diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 0fad8a0..04f1088 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -1,5 +1,5 @@ --- --- \ No newline at end of file diff --git a/src/env.d.ts b/src/env.d.ts index f2fd06c..47e19ac 100644 --- a/src/env.d.ts +++ b/src/env.d.ts @@ -1,7 +1,7 @@ interface ImportMetaEnv { readonly PUBLIC_REPO_VERSION_HASH: string; readonly PUBLIC_PROJECT_VERSION: string; - readonly BUILD_ENVIRONMENT: string; + readonly PUBLIC_BUILD_ENVIRONMENT: string; } interface ImportMeta {