Skip to content

Commit

Permalink
[chore] Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
gkasdorf committed Oct 26, 2023
1 parent 921ca00 commit 64ce8fe
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 60 deletions.
60 changes: 0 additions & 60 deletions .github/appstore.yml

This file was deleted.

71 changes: 71 additions & 0 deletions .github/workflows/appstore.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
name: App Store Deploy
on:
push:
branches: [ main ]

jobs:
deploy:
name: ios-production-build
runs-on: macos-latest

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 XCodes
run: |
brew install robotsandpencils/made/xcodes
xcodes install 15.0
- name: Set Git Config
run: |
git config user.name "GitHub Actions Bot"
git config user.email "<>"
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7'
bundler-cache: true
working-directory: 'ios'

- name: Add Fastlane Plugins
run: |
cd ios
gem install fastlane
fastlane add_plugin changelog
- name: Fastlane Action
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 }}'

0 comments on commit 64ce8fe

Please sign in to comment.