Skip to content

Commit 5d0e0c8

Browse files
committed
update production environment
1 parent cacbe96 commit 5d0e0c8

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

.github/workflows/push.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,5 @@ jobs:
2020
with:
2121
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
2222
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
23+
environment: production
24+
wranglerVersion: "4.14.1"

wrangler.jsonc

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,19 @@
2929
"R2_PUBLIC_URL": "https://builds.zigtools.org",
3030
"FORCE_MINISIGN": false,
3131
},
32+
33+
"env": {
34+
"production": {
35+
"d1_databases": [
36+
{
37+
"binding": "ZIGTOOLS_DB",
38+
"database_name": "production-db-backend",
39+
"database_id": "86dcfef4-8abd-4ff6-97a8-04c231ea2e6c",
40+
},
41+
],
42+
"vars": {
43+
"FORCE_MINISIGN": true,
44+
},
45+
}
46+
}
3247
}

0 commit comments

Comments
 (0)