Skip to content

Commit dd99242

Browse files
committed
feat: remove local environment files and update production configuration for VITE_API_URL
1 parent d8360f7 commit dd99242

4 files changed

Lines changed: 5 additions & 17 deletions

File tree

.env.example

Lines changed: 0 additions & 16 deletions
This file was deleted.

.github/workflows/deploy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ jobs:
5050
5151
- name: Build all packages
5252
run: pnpm run build
53+
env:
54+
VITE_API_URL: ${{ secrets.VITE_API_URL }}
5355

5456
- name: Create D1 database (remote)
5557
working-directory: apps/api

apps/web/.env.local

Lines changed: 0 additions & 1 deletion
This file was deleted.

wrangler.toml.example

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,6 @@ enabled = true
1414
binding = "DB"
1515
database_name = "tabitabi"
1616
database_id = "PLACEHOLDER_DATABASE_ID"
17+
18+
[env.production]
19+
VITE_API_URL = "https://tabitabi-api.soranjiro.workers.dev/api/v1"

0 commit comments

Comments
 (0)