Skip to content

Merge pull request #213 from yssk22/develop #82

Merge pull request #213 from yssk22/develop

Merge pull request #213 from yssk22/develop #82

name: EAS - OTA Update Auto
on:
workflow_dispatch:
push:
branches:
- main
paths:
- "expo/**"
- ".github/workflows/eas-ota-update-auto.yml"
env:
NODE_VERSION: 22.3.0
EAS_VERSION: 13.4.2
JAVA_VERSION: 17
jobs:
update:
runs-on: ubuntu-latest
environment:
name: eas-beta
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
cache: "yarn"
cache-dependency-path: "expo/package.json"
- uses: expo/expo-github-action@v8
with:
eas-version: ${{ env.EAS_VERSION }}
token: ${{ secrets.EXPO_TOKEN }}
- run: cd expo && rm ./config/${{ matrix.target }}/.gitignore
- run: cd expo && rm ./.gitignore
- run: cd expo && yarn install
- run: cd expo && envsubst < ./.env > ./.env.local
env:
GRAPHQL_ENDPOINT: ${{ secrets.GRAPHQL_ENDPOINT }}
- run: cd expo && ./scripts/eas.sh update --channel beta --non-interactive --auto
env:
HPAPP_CONFIG_NAME: beta
GOOGLE_SERVICES_INFO_PLIST: ${{ secrets.GOOGLE_SERVICES_INFO_PLIST }}
GOOGLE_SERVICES_JSON: ${{ secrets.GOOGLE_SERVICES_JSON }}