Skip to content

Commit

Permalink
deploy with correct env
Browse files Browse the repository at this point in the history
  • Loading branch information
nikgraf committed Jun 12, 2024
1 parent 3bb30bb commit 570f7fd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy-web-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:
run: pnpm install --frozen-lockfile
- name: Generate Prisma Client
run: cd ../server && pnpm prisma generate
- name: Setup production .env
run: cp .env.production .env
- name: Pre-build Tailwind CSS # fix for https://github.com/nativewind/nativewind/issues/591#issuecomment-1939369454
run: npx tailwindcss -i ./src/global.css -o ./node_modules/.cache/nativewind/global.css.web.css
- name: Install Vercel CLI
Expand Down
3 changes: 3 additions & 0 deletions apps/app/.env.production
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
EXPO_PUBLIC_API_ENDPOINT=https://lini-api-production.fly.dev/api
EXPO_PUBLIC_SECSYNC_WS_ENDPOINT=wss://lini-api-production.fly.dev
EXPO_PUBLIC_WEB_APP_ORIGIN=https://www.lini.app

0 comments on commit 570f7fd

Please sign in to comment.