Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mataeLee authored Oct 11, 2024
1 parent f583661 commit 921024f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,11 @@ jobs:
npm install --include=dev
# property.json 파일 생성
- name: Create property.json
- name: Create property.json with dynamic AWS_EC2_DNS
run: |
echo -e "${{ env.PROPERTY_JSON }}" > ./src/configs/property.json
echo "${{ env.PROPERTY_JSON }}" | jq --arg dns "$AWS_EC2_DNS" '.publicURL = "http://\($dns)" | .catchweekServerHost = "http://\($dns):8080"' > ./src/configs/property.json
# 결과 확인
cat ./src/configs/property.json
# React 앱 빌드
Expand Down

0 comments on commit 921024f

Please sign in to comment.