-
Notifications
You must be signed in to change notification settings - Fork 2
/
wrangler.example.toml
39 lines (34 loc) · 984 Bytes
/
wrangler.example.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
27
28
29
30
31
32
33
34
35
36
37
38
39
account_id = "..."
compatibility_date = "2022-06-18"
main = "build/worker/shim.mjs"
[build]
command = "cargo install worker-build && worker-build --release"
[env.production]
name = "signalupdates-bot"
kv_namespaces = [{ binding = "STATE", id = "..." }]
workers_dev = true
triggers = { crons = ["*/10 * * * *"] }
[env.production.vars]
USER_ID = "..."
TOPIC_ID_FOR_SERVER_UPDATES = "..."
TOPIC_ID_OVERRIDE = ""
DRY_RUN = ""
ENABLED_PLATFORMS = "said"
DISCORD_UPDATES_MENTION_ROLE = "..."
DISCORD_SERVER_UPDATES_MENTION_ROLE = "..."
DISCORD_ERRORS_MENTION_ROLE = "..."
ACCESS_TOKEN = "..."
[env.staging]
name = "signalupdates-bot-staging"
kv_namespaces = [{ binding = "STATE", id = "..." }]
workers_dev = true
[env.staging.vars]
USER_ID = "..."
TOPIC_ID_FOR_SERVER_UPDATES = "..."
TOPIC_ID_OVERRIDE = ""
DRY_RUN = ""
ENABLED_PLATFORMS = "said"
DISCORD_UPDATES_MENTION_ROLE = "..."
DISCORD_SERVER_UPDATES_MENTION_ROLE = "..."
DISCORD_ERRORS_MENTION_ROLE = "..."
ACCESS_TOKEN = "..."