-
Notifications
You must be signed in to change notification settings - Fork 2
/
wrangler.toml
20 lines (16 loc) · 1001 Bytes
/
wrangler.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
name = "gypsum-test" # ~> Name of the worker, to be used in the endpoint URL.
main = "src/index.js"
account_id = "bfb2e522e0b245720424784fcf7c04c0" # ~> Cloudflare account ID, as listed on the R2 page of the Cloudflare dashboard.
workers_dev = true
compatibility_date = "2024-02-23"
[[r2_buckets]]
binding = 'BOUND_BUCKET'
bucket_name = 'gypsum-test' # ~> Name of the R2 bucket to bind to the worker.
preview_bucket_name = 'gypsum-test' # ~> Name of the bucket for wrangler dev. Best if left the same as 'bucket_name', despite the warnings.
[vars]
CF_ACCOUNT_ID = "bfb2e522e0b245720424784fcf7c04c0" # ~> Account ID. Should be the same as 'account_id'.
R2_BUCKET_NAME = 'gypsum-test' # ~> Name of the bucket. Should be the same as 'r2_buckets.bucket_name'.
GITHUB_USER_AGENT = 'gypsum-test-worker' # ~> User agent for GitHub API requests.
ADMIN_ACCOUNTS = 'LTLA,jkanche' # ~> Comma-separated list of GitHub users or organizations that can act as administrators.
[triggers]
crons = [ "0 0 * * *" ]