Skip to content

Commit

Permalink
feat: 배포용 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
leestana01 committed Nov 16, 2024
1 parent 8b8c593 commit e02d6be
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ jobs:
- name: Install dependencies
run: npm install

- name: Copy .env file
run: echo "${{ secrets.ENV_FILE }}" > .env

- name: Build the Vite app
run: npm run build

Expand All @@ -47,4 +50,4 @@ jobs:

- name: Rollout restart the deployment
run: |
kubectl rollout restart -n lgtu deployments/oeteco-front
kubectl rollout restart -n oeteco deployments/oeteco-front
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"build": "CI=false && react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
Expand Down

0 comments on commit e02d6be

Please sign in to comment.