forked from ArtifactDB/gypsum-worker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwrangler.toml
19 lines (16 loc) · 1.16 KB
/
wrangler.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
name = "collaboratordb" # ~> 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 = "2022-03-04"
[[r2_buckets]]
binding = 'BOUND_BUCKET'
bucket_name = 'collaboratordb' # ~> Name of the R2 bucket to bind to the worker.
preview_bucket_name = 'collaboratordb' # ~> 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 = 'collaboratordb' # ~> Name of the bucket. Should be the same as 'r2_buckets.bucket_name'.
GITHUB_CI_REPOSITORY = 'CollaboratorDB/CollaboratorDB-actions' # ~> Name of the GitHub repository to use for CI/CD.
GITHUB_USER_AGENT = 'collaboratordb-worker' # ~> User agent for GitHub API requests.
ADMIN_ACCOUNTS = 'LTLA' # ~> GitHub users or organizations that can act as administrators.
ALLOWED_UPLOADERS = 'ArtifactDB-bot,CollaboratorDB' # ~> GitHub users or organizations that are allowed to upload new projects.