Skip to content

Commit 1d8e447

Browse files
committed
check ci/cd prod
1 parent 3f7bc89 commit 1d8e447

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/api.deploy.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,13 @@ jobs:
1919

2020
- name: Build package
2121
run: bun run build
22+
env:
23+
COMULINE_ENV: production
2224

2325
- name: Deploy to Cloudflare Workers
2426
uses: cloudflare/wrangler-action@v3
27+
env:
28+
COMULINE_ENV: production
2529
with:
2630
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
2731
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import { HTTPException } from "hono/http-exception"
66
import { constructResponse } from "./utils/response"
77
import { trimTrailingSlash } from "hono/trailing-slash"
88
import { cors } from "hono/cors"
9+
910
const api = createAPI()
1011

1112
const app = api

0 commit comments

Comments
 (0)