Skip to content

Production Deploy

Production Deploy #10

name: Production Deploy
on:
workflow_dispatch:
inputs:
publish_to_play_store:
required: false
default: false
description: Publish to Play Store?
type: boolean
release:
types: [ released ]
env:
SUPPLY_UPLOAD_MAX_RETRIES: 5
jobs:
play_promote_production:
name: Play Publish Production
if: ${{ inputs.publish_to_play_store == true }}
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Configure Ruby
uses: ruby/setup-ruby@a2bbe5b1b236842c1cb7dd11e8e3b51e0a616acc # v1.202.0
with:
bundler-cache: true
- name: Install Bundler
run: |
gem install bundler:2.2.27
bundle install --jobs 4 --retry 3
- uses: ./.github/actions/inflate-secrets
name: Inflate Secrets
with:
keystore: ${{ secrets.ORIGINAL_KEYSTORE_FILE }}
google-services: ${{ secrets.GOOGLESERVICES }}
playstore-creds: ${{ secrets.PLAYSTORECREDS }}
firebase-creds: ${{ secrets.FIREBASECREDS }}
- name: Promote Beta to Production Play Store
run: |
which ruby
ruby -v
which bundle
bundle -v
bundle exec which fastlane
bundle exec fastlane check_version