Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,16 @@ jobs:

- name: Generate xcconfig
run: |
mkdir -p ByeBoo-iOS/Data/Config
echo "BASE_URL = ${BASE_URL}" > ByeBoo-iOS/Data/Config/Config.xcconfig
mkdir -p ByeBoo-iOS/ByeBoo-iOS/Data/Config
cat <<EOF > ByeBoo-iOS/ByeBoo-iOS/Data/Config/Config.xcconfig
BASE_URL = ${BASE_URL}
KAKAO_NATIVE_APP_KEY = ${KAKAO_NATIVE_APP_KEY}
MIXPANEL_TOKEN = ${MIXPANEL_TOKEN}
EOF
env:
BASE_URL: ${{ secrets.BASE_URL }}
KAKAO_NATIVE_APP_KEY: ${{ secrets.KAKAO_NATIVE_APP_KEY }}
MIXPANEL_TOKEN: ${{ secrets.MIXPANEL_TOKEN }}

- name: Generate GoogleService-Info.plist
run: |
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/fastlane_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,18 @@ jobs:
env:
GOOGLE_SERVICE_INFO_BASE64: ${{ secrets.GOOGLE_SERVICE_INFO_BASE64 }}

- name: Generate Config.xcconfig
run: |
cat <<EOF > ByeBoo-iOS/Data/Config/Config.xcconfig
BASE_URL = ${BASE_URL}
KAKAO_NATIVE_APP_KEY = ${KAKAO_NATIVE_APP_KEY}
MIXPANEL_TOKEN = ${MIXPANEL_TOKEN}
EOF
env:
BASE_URL: ${{ secrets.BASE_URL }}
KAKAO_NATIVE_APP_KEY: ${{ secrets.KAKAO_NATIVE_APP_KEY }}
MIXPANEL_TOKEN: ${{ secrets.MIXPANEL_TOKEN }}

- name: Output Fastlane environment
run: bundle exec fastlane env

Expand Down
Loading