-
Notifications
You must be signed in to change notification settings - Fork 5
32 lines (32 loc) · 1.06 KB
/
eas-deploy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Trigger EAS deploy for iOS and Android
on:
pull_request:
types:
- synchronize
- labeled
permissions:
contents: write
pull-requests: write
jobs:
deploy-eas-ios:
if: contains(github.event.pull_request.labels.*.name, 'needs:demo-build')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/eas-deploy-ios
with:
EXPO_APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.EXPO_APPLE_APP_SPECIFIC_PASSWORD }}
APPLE_ID: ${{ secrets.APPLE_ID }}
ASC_APP_ID: ${{ secrets.ASC_APP_ID }}
EXPO_TOKEN: ${{ secrets.EXPO_TOKEN }}
LEATHER_BOT: ${{ secrets.LEATHER_BOT }}
deploy-eas-android:
if: contains(github.event.pull_request.labels.*.name, 'needs:demo-build')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/eas-deploy-android
with:
EXPO_TOKEN: ${{ secrets.EXPO_TOKEN }}
LEATHER_BOT: ${{ secrets.LEATHER_BOT }}
GOOGLE_SERVICES_JSON: ${{ secrets.GOOGLE_SERVICES_JSON }}