Skip to content

Instantly share code, notes, and snippets.

@felippewick
Created November 8, 2024 20:40
Show Gist options
  • Save felippewick/313b2f94dc2b536fea11e55559f87315 to your computer and use it in GitHub Desktop.
Save felippewick/313b2f94dc2b536fea11e55559f87315 to your computer and use it in GitHub Desktop.
Deploying expo web on amplify
version: 1.0
frontend:
phases:
preBuild:
commands:
- yarn global add expo-cli
- npm install --quiet --global pnpm
- pnpm install
build:
commands:
- APP_ENV=${APP_ENV}
- npx expo export -p web
artifacts:
baseDirectory: dist
files:
- '**/*'
cache:
paths:
- node_modules/**/*
- $(npm root --global)/**/*
- $(pnpm store path)/**/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment