diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 39363e4..8a675d6 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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 }}