-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Config Update Gemfile cd workflow Update cd workflow * Update workflow * Update Gemfile * Clean-up match file
- Loading branch information
1 parent
65b976f
commit f14d4c7
Showing
7 changed files
with
398 additions
and
2 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
name: CD | ||
on: | ||
push: | ||
branches: [ feature/ci-cd ] | ||
|
||
# Allows you to run this workflow manually from the Actions a tab | ||
workflow_dispatch: | ||
|
||
jobs: | ||
testFlight-build: | ||
name: ios-testflight-build | ||
runs-on: macos-latest | ||
strategy: | ||
matrix: | ||
node-version: [20.x] | ||
|
||
steps: | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Install Ruby | ||
uses: actions/setup-ruby@v1 | ||
with: | ||
ruby-version: 3.2 | ||
|
||
- name: Checkout to git repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup yarn | ||
run: npm install -g yarn | ||
|
||
- name: Install yarn dependencies | ||
run: yarn | ||
|
||
- name: Install Fastlane | ||
working-directory: ./packages/mobile | ||
run: | | ||
bundle install | ||
bundle update fastlane | ||
- name: Deploy iOS Beta to TestFlight via Fastlane | ||
uses: maierj/[email protected] | ||
working-directory: ./packages/mobile/ios | ||
with: | ||
lane: closed_beta | ||
env: | ||
APP_STORE_CONNECT_TEAM_ID: '${{ secrets.APP_STORE_CONNECT_TEAM_ID }}' | ||
DEVELOPER_APP_ID: '${{ secrets.DEVELOPER_APP_ID }}' | ||
DEVELOPER_APP_IDENTIFIER: '${{ secrets.DEVELOPER_APP_IDENTIFIER }}' | ||
DEVELOPER_PORTAL_TEAM_ID: '${{ secrets.DEVELOPER_PORTAL_TEAM_ID }}' | ||
FASTLANE_APPLE_ID: '${{ secrets.FASTLANE_APPLE_ID }}' | ||
FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD: '${{ secrets.FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD }}' | ||
MATCH_PASSWORD: '${{ secrets.MATCH_PASSWORD }}' | ||
GIT_AUTHORIZATION: '${{ secrets.GIT_AUTHORIZATION }}' | ||
PROVISIONING_PROFILE_SPECIFIER: '${{ secrets.PROVISIONING_PROFILE_SPECIFIER }}' | ||
TEMP_KEYCHAIN_PASSWORD: '${{ secrets.TEMP_KEYCHAIN_PASSWORD }}' | ||
TEMP_KEYCHAIN_USER: '${{ secrets.TEMP_KEYCHAIN_USER }}' | ||
APPLE_KEY_ID: '${{ secrets.APPLE_KEY_ID }}' | ||
APPLE_ISSUER_ID: '${{ secrets.APPLE_ISSUER_ID }}' | ||
APPLE_KEY_CONTENT: '${{ secrets.APPLE_KEY_CONTENT }}' |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
app_identifier(ENV["DEVELOPER_APP_IDENTIFIER"]) # The bundle identifier of your app | ||
apple_id(ENV["FASTLANE_APPLE_ID"]) # Your Apple Developer Portal username | ||
|
||
itc_team_id(ENV["APP_STORE_CONNECT_TEAM_ID"]) # App Store Connect Team ID | ||
team_id(ENV["DEVELOPER_PORTAL_TEAM_ID"]) # Developer Portal Team ID | ||
|
||
# For more information about the Appfile, see: | ||
# https://docs.fastlane.tools/advanced/#appfile | ||
|
Oops, something went wrong.