Commit e7c911e
committed
fix: run Cypress against preview deploy
Compute the Cloudflare Pages branch alias in the E2E job and pass it directly to Cypress. This avoids relying on a deploy job output that GitHub can drop as secret-like, which left Cypress with an empty baseUrl and made it fall back to localhost.1 parent f7c8227 commit e7c911e
1 file changed
Lines changed: 15 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | 23 | | |
26 | 24 | | |
27 | 25 | | |
| |||
100 | 98 | | |
101 | 99 | | |
102 | 100 | | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
103 | 115 | | |
104 | 116 | | |
105 | 117 | | |
106 | 118 | | |
107 | | - | |
108 | | - | |
| 119 | + | |
0 commit comments