-
Notifications
You must be signed in to change notification settings - Fork 59
71 lines (61 loc) · 2.25 KB
/
appstore.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
name: App Store Deploy
on:
push:
branches: [ main ]
jobs:
deploy:
name: ios-production-build
runs-on: macos-13
steps:
- name: ⬇️ Checkout
uses: actions/checkout@v3
- name: 🔧 Setup node
uses: actions/setup-node@v1
with:
node-version: 18
- name: ⛏️ Install Node deps
run: yarn install
# - name: 🧐 Run Lint
# run: |
# ./node_modules/eslint/bin/eslint.js . --ext js,jsx,ts,tsx
# Setup XCode
- name: 🔨 Install XCode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: 15.0
- name: 🪛 Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7'
bundler-cache: true
working-directory: 'ios'
- name: ⚙️ Set Git Config
run: |
git config user.name "GitHub Actions Bot"
git config user.email "<>"
- name: 🔌 Add Fastlane Plugins
run: |
cd ios
gem install fastlane
fastlane add_plugin changelog
- name: 👷 Build and ✈️ Deploy
uses: maierj/[email protected]
with:
lane: 'beta'
subdirectory: 'ios'
bundler-cache: true
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 }}'