Skip to content

Merge pull request #103 from lifo9/dependabot/npm_and_yarn/types/chro… #82

Merge pull request #103 from lifo9/dependabot/npm_and_yarn/types/chro…

Merge pull request #103 from lifo9/dependabot/npm_and_yarn/types/chro… #82

Workflow file for this run

name: CD
on:
push:
branches: [ master ]
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '0 0 */80 * *'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
deploy:
name: Deploying to Testflight
runs-on: macOS-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
working-directory: xcode/fastlane
ruby-version: '3.2'
bundler-cache: true
- name: Deploy iOS Beta to TestFlight via Fastlane
working-directory: xcode/fastlane
run: bundle exec fastlane ios 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_EXTENSION_APP_IDENTIFIER: '${{ secrets.DEVELOPER_EXTENSION_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 }}'
PROVISIONING_PROFILE_SPECIFIER_EXTENSION: '${{ secrets.PROVISIONING_PROFILE_SPECIFIER_EXTENSION }}'
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 }}'
FASTLANE_CERTIFICATES_REPO_URL: '${{ secrets.FASTLANE_CERTIFICATES_REPO_URL }}'
APP_NAME: '${{ secrets.APP_NAME }}'
DEVELOPMENT_TEAM: '${{ secrets.DEVELOPMENT_TEAM }}'
- name: Commit new version number
run: |
git config user.name github-actions
git config user.email github-actions@github.com
git add .
git commit -m "Increment build number"
git push