Skip to content

Commit

Permalink
add env at right place
Browse files Browse the repository at this point in the history
  • Loading branch information
lukesthl committed Mar 30, 2024
1 parent e66bb59 commit 7404697
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,16 @@ jobs:
workingDirectory: './apps/api'
packageManager: bun
command: deploy ./src/index.ts --env production
- run: bun run --cwd ./apps/expo build:web
- name: Deploy Pages
uses: cloudflare/wrangler-action@v3
- name: Build Web
env:
EXPO_PUBLIC_GITHUB_CLIENT_ID: ${{ vars.EXPO_PUBLIC_GITHUB_CLIENT_ID }}
EXPO_PUBLIC_API_URL: ${{ vars.EXPO_PUBLIC_API_URL }}
EXPO_PUBLIC_GOOGLE_IOS_CLIENT_ID: ${{ vars.EXPO_PUBLIC_GOOGLE_IOS_CLIENT_ID }}
EXPO_PUBLIC_GOOGLE_WEB_CLIENT_ID: ${{ vars.EXPO_PUBLIC_GOOGLE_WEB_CLIENT_ID }}
run: bun run --cwd ./apps/expo build:web
- name: Deploy Pages
uses: cloudflare/wrangler-action@v3

with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
Expand Down

0 comments on commit 7404697

Please sign in to comment.