Skip to content

Commit

Permalink
Merge pull request #220 from read-a-perfume/feature/opt
Browse files Browse the repository at this point in the history
deploy: api 환경변수 셋팅
  • Loading branch information
gn753 authored Apr 6, 2024
2 parents 726f973 + 023b9f8 commit 6877016
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 0 additions & 1 deletion .env.production

This file was deleted.

7 changes: 6 additions & 1 deletion .github/workflows/deploy_front.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@ jobs:
with:
node-version: 18
cache: 'npm'

# Github Repository Secrets를 통해 환경 변수 파일을 생성합니다.
- name: Generate Environment Variables File for Production
run: |
echo "REACT_APP_DOMAIN=$REACT_APP_DOMAIN" >> .env.production
env:
REACT_APP_DOMAIN: ${{ secrets.VITE_API_KEY }}
- name: Install dependencies
run: npm install --force

Expand Down

0 comments on commit 6877016

Please sign in to comment.