Add deploy workflow for pushing release branch

This commit is contained in:
Mingshen Sun 2023-03-03 21:28:14 -08:00
parent 2f7eff431b
commit 9caf2a0a3b

View file

@ -4,6 +4,7 @@ on:
push: push:
branches: branches:
- master - master
- 'release-*'
jobs: jobs:
build: build:
@ -54,7 +55,6 @@ jobs:
- name: Test - name: Test
run: bundle exec fastlane test run: bundle exec fastlane test
- name: Deploy - name: Deploy
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
run: bundle exec fastlane ${{ matrix.channel }} run: bundle exec fastlane ${{ matrix.channel }}
env: env:
APPLE_ID: ${{ secrets.APPLE_ID }} APPLE_ID: ${{ secrets.APPLE_ID }}