Skip to content

Commit c7af88d

Browse files
committed
[Feat] Configuration 파일 생성 스크립트 재작성
1 parent 3f02ad9 commit c7af88d

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/upload_product.yml

+10-4
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,16 @@ jobs:
2121
run: |
2222
bash <(curl -Ls https://install.tuist.io)
2323
24-
- name: Make Configuration File
24+
- name: Create Release.xcconfig
25+
env:
26+
BASE_URL: ${{ secrets.BASE_URL }}
27+
KAKAO_API_KEY: ${{ secrets.KAKAO_API_KEY }}
2528
run: |
26-
touch Release.xcconfig
27-
echo ${{ secrets.RELEASE }} >> Release.xcconfig
28-
mv Release.xcconfig cd EATSSU_MVC/EATSSU_MVC/Resources
29+
echo "// Configuration settings file format documentation can be found at:" > Release.xcconfig
30+
echo "// https://help.apple.com/xcode/#/dev745c5c974" >> Release.xcconfig
31+
echo "// API 엔드 포인트 주소" >> Release.xcconfig
32+
echo "BASE_URL = $BASE_URL" >> Release.xcconfig
33+
echo "// 카카오 API 키" >> Release.xcconfig
34+
echo "KAKAO_API_KEY = $KAKAO_API_KEY" >> Release.xcconfig
2935
3036

0 commit comments

Comments
 (0)