Skip to content

Commit

Permalink
Merge pull request #17 from iOdiO89/develop
Browse files Browse the repository at this point in the history
chore: env build에 포함
  • Loading branch information
iOdiO89 authored Sep 3, 2024
2 parents e2a3052 + 3e2110c commit 0812d5b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/s3Deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
run: yarn install

- name: Build React
run: yarn build
run: yarn env-build

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v2
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"dayjs": "^1.11.12",
"dotenv": "^16.4.5",
"electron-is-dev": "^3.0.1",
"env-cmd": "^10.1.0",
"framer-motion": "^11.3.30",
"jotai": "^2.9.0",
"jotai-devtools": "^0.10.0",
Expand All @@ -34,6 +35,7 @@
},
"scripts": {
"start": "react-scripts start",
"env-build": "env-cmd -f .env react-scripts build",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
Expand Down
1 change: 0 additions & 1 deletion src/react-app-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@ declare namespace NodeJS {
interface ProcessEnv {
REACT_APP_API_URL: string
REACT_APP_KAKAO_REST_KEY: string
REACT_APP_KAKAO_JS_KEY: string
}
}
8 changes: 8 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4855,6 +4855,14 @@ entities@^2.0.0:
resolved "https://registry.yarnpkg.com/entities/-/entities-2.2.0.tgz#098dc90ebb83d8dffa089d55256b351d34c4da55"
integrity sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==

env-cmd@^10.1.0:
version "10.1.0"
resolved "https://registry.yarnpkg.com/env-cmd/-/env-cmd-10.1.0.tgz#c7f5d3b550c9519f137fdac4dd8fb6866a8c8c4b"
integrity sha512-mMdWTT9XKN7yNth/6N6g2GuKuJTsKMDHlQFUDacb/heQRRWOTIZ42t1rMHnQu4jYxU1ajdTeJM+9eEETlqToMA==
dependencies:
commander "^4.0.0"
cross-spawn "^7.0.0"

env-paths@^2.2.0:
version "2.2.1"
resolved "https://registry.yarnpkg.com/env-paths/-/env-paths-2.2.1.tgz#420399d416ce1fbe9bc0a07c62fa68d67fd0f8f2"
Expand Down

0 comments on commit 0812d5b

Please sign in to comment.