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