Skip to content

Commit

Permalink
chore: fix services def ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucky3028 committed Aug 31, 2023
1 parent ac544ec commit 4878fc3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
7 changes: 3 additions & 4 deletions apps/auto-run-ac-web/wrangler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ compatibility_flags = ["nodejs_compat"]
routes = [{ pattern = "air.cap-l.cc", custom_domain = true }]
# アカウントIDはシークレットな値ではない
account_id = "fff06038a70892193e0fa1e9e270436a"
services = [
{ binding = "AUTO_RUN_AC_API", service = "auto-run-ac-api" }
]

[vars]
NODE_ENV = "production"
Expand All @@ -15,7 +18,3 @@ bucket = "./public"

[build]
command = "pnpm build"

services = [
{ binding = "AUTO_RUN_AC_API", service = "auto-run-ac-api" }
]
10 changes: 6 additions & 4 deletions apps/auto-run-ac/wrangler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ account_id = "fff06038a70892193e0fa1e9e270436a"
kv_namespaces = [
{ binding = "HISTORY", id = "2622aa221d65472ca1b9595c31a388cf", preview_id = "d39881391df24b1891c808b74d9b4937" }
]
services = [
{ binding = "AUTO_RUN_AC_API", service = "auto-run-ac-api" }
]

[vars]
NODE_ENV = "production"
Expand All @@ -18,6 +21,9 @@ SENTRY_DSN = "https://[email protected]/2"
kv_namespaces = [
{ binding = "HISTORY", id = "2622aa221d65472ca1b9595c31a388cf", preview_id = "d39881391df24b1891c808b74d9b4937" },
]
services = [
{ binding = "AUTO_RUN_AC_API", service = "auto-run-ac-api" }
]

[env.development.vars]
NODE_ENV = "development"
Expand All @@ -28,7 +34,3 @@ SENTRY_DSN = "https://[email protected]/2"
[triggers]
# 15分ごとに実行する
crons = ["*/15 * * * *"]

services = [
{ binding = "AUTO_RUN_AC_API", service = "auto-run-ac-api" }
]

0 comments on commit 4878fc3

Please sign in to comment.