fixed CLI
swadhinbiswas committed 8 months ago
e12edd1
1 parent 8931c43
commit e12edd1
1 file changed
+9 -22
Showing 1 changed file+9-22
▼website/wrangler.toml
+9-22
| @@ -1,27 +1,14 @@ | ||
1 | 1 | # Cloudflare Pages Configuration |
2 | 2 | # https://developers.cloudflare.com/pages/ |
3 | +# | |
4 | +# IMPORTANT: For Cloudflare Pages, use this command to deploy: | |
5 | +# wrangler pages deploy dist/ --project-name=faang-playbook | |
6 | +# | |
7 | +# Or set these in Cloudflare Dashboard: | |
8 | +# Build command: bun run build | |
9 | +# Build output directory: dist | |
10 | +# Root directory: website | |
3 | 11 | |
4 | 12 | name = "faang-playbook" |
5 | 13 | compatibility_date = "2026-02-02" |
6 | - | |
7 | -# Pages specific settings | |
8 | -[site] | |
9 | -bucket = "./dist" | |
10 | - | |
11 | -# Build configuration | |
12 | -[build] | |
13 | -command = "bun run build" | |
14 | -cwd = "." | |
15 | -watch_dir = "src" | |
16 | - | |
17 | -# Environment variables (if needed) | |
18 | -[vars] | |
19 | -NODE_VERSION = "18" | |
20 | - | |
21 | -# Production environment | |
22 | -[env.production] | |
23 | -name = "faang-playbook-prod" | |
24 | - | |
25 | -# Preview environment (for PR previews) | |
26 | -[env.preview] | |
27 | -name = "faang-playbook-preview" | |
14 | +pages_build_output_dir = "./dist" | |
28 | 15 | |