Skip to content

Merge pull request #1056 from overthq/website #7

Merge pull request #1056 from overthq/website

Merge pull request #1056 from overthq/website #7

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
jobs:
deploy-app:
name: Deploy app
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
node-version: '20.x'
- uses: actions/setup-node@v3
with:
node-version: '20.x'
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Setup Expo
uses: expo/expo-github-action@v8
with:
packager: yarn
eas-version: latest
token: ${{ secrets.EXPO_TOKEN }}
- name: Build and deploy
run: eas build -p android --profile=production --auto-submit --non-interactive --no-wait
working-directory: ./apps/app
deploy-dashboard:
name: Deploy dashboard
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
node-version: '20.x'
- uses: actions/setup-node@v3
with:
node-version: '20.x'
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Setup Expo
uses: expo/expo-github-action@v8
with:
packager: yarn
eas-version: latest
token: ${{ secrets.EXPO_TOKEN }}
- name: Build and deploy
run: eas build -p android --profile=production --auto-submit --non-interactive --no-wait
working-directory: ./apps/dashboard