fix: AuthKey 무효화 및 새 content key 발급 + 숨김처리 #92
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: UploadTestFlight | ||
on: | ||
push: | ||
branches: [ develop ] | ||
jobs: | ||
upload_testflight: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: shimataro/ssh-key-action@v2 | ||
with: | ||
key: ${{ secrets.SSH_KEY }} | ||
known_hosts: ${{ secrets.KNOWN_HOSTS }} | ||
- name: Setup Xcode version | ||
uses: maxim-lobanov/setup-xcode@v1 | ||
with: | ||
xcode-version: 15.4.0 | ||
- name: Install Tuist | ||
run: brew tap tuist/tuist | ||
- run: brew install --formula [email protected] | ||
- run: tuist version | ||
- name: Install Fastlane | ||
run: brew install fastlane | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: 3.0 | ||
- name: Tuist clean | ||
run: tuist clean | ||
- name: Tuist fetch | ||
run: tuist fetch | ||
- name: Tuist Signing Decrypt | ||
run: tuist signing decrypt | ||
- name: Set Keychain | ||
run: fastlane set_keychain | ||
env: | ||
KEYCHAIN_NAME: ${{ secrets.KEYCHAIN_NAME }} | ||
KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }} | ||
- name: Setting Xcconfig | ||
run: | | ||
echo "NAVER_OCR_KEY = $NAVER_OCR_KEY" > Projects/App/Resources/APIKey.xcconfig | ||
env: | ||
NAVER_OCR_KEY: ${{secrets.NAVER_OCR_KEY}} | ||
- name: Tuist generate | ||
run: tuist generate | ||
- run: fastlane tf | ||
env: | ||
KEYCHAIN_NAME: ${{ secrets.KEYCHAIN_NAME }} | ||
KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }} | ||
FASTLANE_API_KEY_ID: ${{ secrets.FASTLANE_API_KEY_ID }} | ||
FASTLANE_API_KEY_ISSUER_ID: ${{ secrets.FASTLANE_API_KEY_ISSUER_ID }} | ||
FASTLANE_API_KEY_CONTENT: ${{ secrets.FASTLANE_API_KEY_CONTENT }} | ||
SLACK_HOOK_URL: ${{ secrets.SLACK_HOOK_URL }} |