-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
wrangler.toml
26 lines (23 loc) · 866 Bytes
/
wrangler.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
compatibility_date = "2021-11-08"
name = "withblueink-dev"
# Dev environment is deployed to a workers.dev domain
workers_dev = true
# Use CF_ACCOUNT_ID instead
#account_id = ""
# Use CF_ZONE_ID instead
#zone_id = ""
# These variables need to be set as secrets: PLAUSIBLE_ANALYTICS (except for dev), STORAGE_ACCOUNT
vars = {STORAGE_CONTAINER = "withblueink-dev", DOMAINS = "withblueink-dev.italypaleale.workers.dev", PLAUSIBLE_ANALYTICS = ""}
main = "workers-site/index.js"
[site]
bucket = "./public"
[env.staging]
name = "withblueink-staging"
workers_dev = true
route = "staging.withblue.ink/*"
vars = {STORAGE_CONTAINER = "withblueink-staging", DOMAINS = "staging.withblue.ink", PLAUSIBLE_ANALYTICS = ""}
[env.production]
name = "withblueink"
workers_dev = true
route = "*withblue.ink/*"
vars = {STORAGE_CONTAINER = "withblueink-prod", DOMAINS = "withblue.ink"}