-
Notifications
You must be signed in to change notification settings - Fork 4
40 lines (29 loc) · 863 Bytes
/
deploy.yaml
File metadata and controls
40 lines (29 loc) · 863 Bytes
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
33
34
35
36
37
38
39
40
name: Deploy React Native App with Expo
on:
push:
branches:
- deployment
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: CHECKOUT
uses: actions/checkout@v2
- name: Set up
uses: actions/setup-node@v2
with:
node-version: '16'
- name: Install yarn
run: npm install -g yarn
- name: Install dependencies
run: yarn install
- name: Install Expo CLI
run: yarn global add expo-cli
- name: Install EAS CLI
run: yarn global add eas-cli
- name: Log in to Expo
run: expo login -u ${{secrets.EXPO_USERNAME}} -p ${{secrets.EXPO_PASSWORD}} --non-interactive
- name: Build and Publish with EAS for Android
run: eas build --platform android --profile preview
- name: Update with EAS
run: eas update