Commit 7ccf6c0
authored
fix(ci): read _versions.yml from the serving bucket (#811)
The main doc build fetched the version list from the legacy doc-build dataset
and synced it to the hf-doc-build/doc bucket, which is what moon-landing
actually serves. When a release build had only reached the dataset, the bucket
ended up advertising a version whose folder it did not have, and
hf.co/docs/<package> returned a 404 on its default version (tokenizers
v0.23.1).
Reading the list from the bucket keeps the served version list consistent with
the served content.1 parent 23dc84b commit 7ccf6c0
1 file changed
Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
153 | 156 | | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
154 | 160 | | |
155 | 161 | | |
156 | | - | |
157 | | - | |
158 | | - | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
159 | 165 | | |
160 | 166 | | |
161 | 167 | | |
| |||
0 commit comments