Skip to content

Commit

Permalink
deploy page
Browse files Browse the repository at this point in the history
  • Loading branch information
lukesthl committed Mar 30, 2024
1 parent 6006c32 commit 4aca3b2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,10 @@ jobs:
workingDirectory: './apps/api'
packageManager: bun
command: deploy ./src/index.ts
- name: Deploy Pages
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
workingDirectory: './apps/expo'
packageManager: bun
command: bun run build:web && pages deploy ./dist --project-name=expo-lucia-auth-example
2 changes: 1 addition & 1 deletion apps/api/wrangler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name = "api"
compatibility_date = "2023-12-04"

[vars]
WORKER_ENV = "dev"
WORKER_ENV = "development"

# [[kv_namespaces]]
# binding = "MY_KV_NAMESPACE"
Expand Down
1 change: 1 addition & 0 deletions apps/expo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"android": "npx expo run:android",
"ios": "npx expo run:ios",
"dev:client": "npx expo start --clear --dev-client",
"build:web": "npx expo export --platform web",
"eject": "npx expo eject"
},
"dependencies": {
Expand Down

0 comments on commit 4aca3b2

Please sign in to comment.