Trigger on beta commit message
This commit is contained in:
parent
13896c7396
commit
8653f059b8
|
@ -1,7 +1,9 @@
|
|||
name: Public Beta
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- 'master'
|
||||
|
||||
env:
|
||||
APP_STORE_CONNECT_API_KEY: ${{ secrets.APP_STORE_CONNECT_API_KEY }}
|
||||
|
@ -20,8 +22,16 @@ env:
|
|||
CHANGELOG_PREFACE: ${{ secrets.CHANGELOG_PREFACE }}
|
||||
|
||||
jobs:
|
||||
check_beta:
|
||||
if: contains(github.event.head_commit.message, 'Attempt beta release')
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check beta commit
|
||||
run: |
|
||||
echo
|
||||
build_upload_ios:
|
||||
runs-on: macos-11
|
||||
needs: check_beta
|
||||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
@ -39,6 +49,7 @@ jobs:
|
|||
bundle exec fastlane --env ios,beta store_beta
|
||||
build_upload_mac:
|
||||
runs-on: macos-11
|
||||
needs: check_beta
|
||||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit a35886548dd3068e4173d51dd448288b45ad3eff
|
||||
Subproject commit 62305b8d915585bb8f7199c7a808eb7b57793339
|
Loading…
Reference in New Issue