Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: Evaldo Felipe <[email protected]>
  • Loading branch information
evaldofelipe committed Jan 10, 2025
1 parent 8c90d4c commit 851eb04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion scripts/pre-build-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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..."
Expand Down

0 comments on commit 851eb04

Please sign in to comment.