From 851eb044a1e0457e342f01e8e3314dc77124e963 Mon Sep 17 00:00:00 2001 From: Evaldo Felipe Date: Fri, 10 Jan 2025 14:49:04 -0300 Subject: [PATCH] test Signed-off-by: Evaldo Felipe --- package.json | 2 +- scripts/pre-build-env.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index c33218311..869706916 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ "scripts": { "start": "export REACT_APP_GIT_COMMIT_HASH=$(git rev-parse HEAD) && vite", "dev": "export REACT_APP_GIT_COMMIT_HASH=$(git rev-parse HEAD) && vite --port $PORT --host", - "build": "yarn prebuild-env && yarn prebuild && source output.env && echo $GIT_ENV_EXPORTED && export REACT_APP_GIT_COMMIT_HASH=$(git rev-parse HEAD) && tsc && vite build", + "build": "yarn prebuild-env && yarn prebuild && source /tmp/output.env && echo $GIT_ENV_EXPORTED && export REACT_APP_GIT_COMMIT_HASH=$(git rev-parse HEAD) && tsc && vite build", "prebuild": "tsx scripts/pre-build.ts", "prebuild-env": "./scripts/pre-build-env.sh", "analyze": "yarn build && rollup-plugin-visualizer --open ./bundle-size-analysis.json", diff --git a/scripts/pre-build-env.sh b/scripts/pre-build-env.sh index 4611d4a7d..e6cda8ea4 100755 --- a/scripts/pre-build-env.sh +++ b/scripts/pre-build-env.sh @@ -4,7 +4,7 @@ set -o nounset FILE_REMOTE="projects/across/frontend/outputs/output.env" - FILE_PATH="output.env" + FILE_PATH="/tmp/output.env" if [ -n "${GH_TOKEN}" ]; then echo "Getting env files from config repo..."