Skip to content

Commit 94a3518

Browse files
authored
Update deploy.yml
1 parent aa4d8d0 commit 94a3518

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ jobs:
1919
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
2020
aws-region: ${{ secrets.AWS_REGION }}
2121

22+
- name: 환경 변수 설정
23+
run: echo "VITE_BASE_URL=$VITE_BASE_URL" >> .env.production
24+
env:
25+
VITE_BASE_URL: ${{secrets.VITE_BASE_URL}}
26+
2227
- name: 리액트 빌드
2328
run: |
2429
npm install

0 commit comments

Comments
 (0)