Commit c7dbcd1
Add Cloudflare Pages automatic preview deploy detection (#49823)
Addresses get-convex/convex-backend#440
Adds automatic Cloudflare Pages preview deployment detection to `convex deploy`, matching the existing Vercel/Netlify behavior. When `CF_PAGES` is set, the CLI now uses `CF_PAGES_BRANCH` as the preview deployment name and detects non-production builds via a branch name heuristic.
GitOrigin-RevId: f7a1ff7c4c9770630309c7ee299162141bfffec51 parent 8a9caea commit c7dbcd1
2 files changed
+17
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
433 | 433 | | |
434 | 434 | | |
435 | 435 | | |
436 | | - | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
437 | 439 | | |
438 | 440 | | |
439 | 441 | | |
| |||
445 | 447 | | |
446 | 448 | | |
447 | 449 | | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
448 | 455 | | |
449 | 456 | | |
450 | 457 | | |
| |||
466 | 473 | | |
467 | 474 | | |
468 | 475 | | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
469 | 484 | | |
470 | 485 | | |
0 commit comments