Repository navigation
Commit cec9487
docs.yml: wait for the Pages build of the pushed gh-pages commit (#15)
The deploy job of docs.yml now runs pagesbuild on the gh-pages commit it
pushed (only when something was pushed). GitHub's legacy "pages build and
deployment" sometimes stalls in updating_pages and times out, and a green
push is then not a published site; pagesbuild waits for a build of that
commit, requests a new one when needed, and fails the job if the site is
still not built.
Same change as go-redfish/docs#11 (merge 1beaa7d), made by pagesbuildadd:
'pages: write' on the deploy job, 'id: push' and the pushed SHA as an output
of "Push gh-pages", and a "Wait for the Pages build" step running
pagesbuild@v0.80.0. Proven in production by https://github.com/go-redfish/docs/actions/runs/42268708918:
pagesbuild requested a rebuild after a 5 minute stall and the commit was
built two minutes later.
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>1 parent 3bc73ed commit cec9487
1 file changed
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| 109 | + | |
109 | 110 | | |
110 | 111 | | |
111 | 112 | | |
| |||
150 | 151 | | |
151 | 152 | | |
152 | 153 | | |
| 154 | + | |
153 | 155 | | |
154 | 156 | | |
155 | 157 | | |
| |||
161 | 163 | | |
162 | 164 | | |
163 | 165 | | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
0 commit comments