Commit 7663e43
Wait for Pages deployment before posting preview link
pr-preview-action posts its sticky comment as soon as the build lands
on gh-pages, ~30-60s before the GitHub Pages deployment finishes, so
the preview link 404s at first. wait-for-pages-deployment holds the
comment until the deployment is live; pages: read lets the wait poll
the Pages builds API (the explicit permissions block zeroes it
otherwise).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent c22c093 commit 7663e43
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| 138 | + | |
| 139 | + | |
138 | 140 | | |
139 | 141 | | |
140 | 142 | | |
| |||
177 | 179 | | |
178 | 180 | | |
179 | 181 | | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
0 commit comments