Skip to content

Commit

Permalink
chore: build script 분리
Browse files Browse the repository at this point in the history
  • Loading branch information
iOdiO89 committed Sep 3, 2024
1 parent 560eaec commit 3e2110c
Show file tree
Hide file tree
Showing 2 changed files with 3 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
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
},
"scripts": {
"start": "react-scripts start",
"build": "env-cmd -f .env react-scripts build",
"env-build": "env-cmd -f .env react-scripts build",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"dev": "concurrently \"cross-env NODE_ENV=development BROWSER=none yarn start\" \"wait-on http://localhost:3000 && electron .\"",
Expand Down

0 comments on commit 3e2110c

Please sign in to comment.