Skip to content

Commit c9fd74b

Browse files
committed
fix: ci fixes
1 parent 3c952bc commit c9fd74b

File tree

3 files changed

+15
-61
lines changed

3 files changed

+15
-61
lines changed

scripts/deploy.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,9 @@ async function main(argv = process.argv) {
144144
stdio: ['pipe', 'inherit', 'inherit'],
145145
encoding: 'utf-8',
146146
});
147-
console.log("✅ Secrets uploaded. Proceeding to deploy...");
147+
console.log('✅ Secrets uploaded. Proceeding to deploy...');
148148
} catch (err) {
149-
console.error("❌ Secret upload failed:", err.message);
149+
console.error('❌ Secret upload failed:', err.message);
150150
process.exit(1);
151151
}
152152
const deployArgs = ['deploy', '--config', './wrangler.toml', ...restArgs];

wrangler.toml

Lines changed: 13 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,22 @@
11
name = "polykey-network-dashboard-dev"
22
main = "src/worker.ts"
33
send_metrics = false
4-
compatibility_flags = [ "nodejs_compat" ]
54
compatibility_date = "2024-09-23"
6-
7-
[[routes]]
8-
pattern = "dev.testnet.polykey.com"
9-
custom_domain = true
10-
11-
[[routes]]
12-
pattern = "dev.mainnet.polykey.com"
13-
custom_domain = true
14-
5+
routes = [
6+
{ pattern = "dev.testnet.polykey.com", custom_domain = true },
7+
{ pattern = "dev.mainnet.polykey.com", custom_domain = true },
8+
]
159
[site]
16-
bucket = "./public"
10+
bucket = "./public"
1711

1812
[env.staging]
19-
name = "polykey-network-dashboard-staging"
20-
21-
[[env.staging.routes]]
22-
pattern = "testnet.polykey.com/*"
23-
custom_domain = true
13+
name = "polykey-network-dashboard-staging"
14+
routes = [
15+
{ pattern = "testnet.polykey.com/*", custom_domain = true },
16+
]
2417

2518
[env.master]
26-
name = "polykey-network-dashboard"
27-
28-
[[env.master.routes]]
29-
pattern = "mainnet.polykey.com/*"
30-
custom_domain = true
31-
32-
[env.feature-rework]
33-
name = "polykey-network-dashboard-dev-feature-rework"
34-
migrations = [ ]
35-
36-
[[env.feature-rework.routes]]
37-
pattern = "feature-rework.dev.testnet.polykey.com"
38-
custom_domain = true
39-
40-
[[env.feature-rework.routes]]
41-
pattern = "feature-rework.dev.mainnet.polykey.com"
42-
custom_domain = true
43-
44-
[env.feature-rework.durable_objects]
45-
bindings = [ ]
19+
name = "polykey-network-dashboard"
20+
routes = [
21+
{ pattern = "mainnet.polykey.com/*", custom_domain = true },
22+
]

wrangler.toml.bak

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)