Commit 2cc76fb
authored
ci: consolidate Fern docs publishing (#155)
#### Overview
Consolidate Fern documentation validation, preview, cleanup, and publishing into the dedicated Fern Docs workflow.
- [x] I confirm this contribution is my own work, or I have the right to submit it under this project's license.
- [x] I searched existing issues and open pull requests, and this does not duplicate existing work.
#### Details
- Remove the reusable `ci_docs.yml` workflow and detach documentation checks from the package CI aggregator.
- Update `fern-docs.yml` to use the `fern` environment `FERN_TOKEN` secret for docs publishing.
- Generate stable Fern preview deployments using `pull-request-<number>` and delete the matching preview after a PR is merged.
- Update contributor, release, and Fern docs to describe the new workflow and secret model.
#### Where should the reviewer start?
Start with `.github/workflows/fern-docs.yml`, then review `.github/workflows/ci.yaml` to confirm the package CI dependency removal.
#### Related Issues: (use one of the action keywords Closes / Fixes / Resolves / Relates to)
- Relates to: none
## Summary by CodeRabbit
* **Chores**
* Removed the separate documentation CI job; docs validation/publishing is now handled independently.
* Switched docs publishing to use the environment-scoped FERN_TOKEN.
* **Documentation**
* PR-based docs previews now generate unique preview IDs and are automatically cleaned up when the PR is merged.
* Updated docs and releasing guidance to reflect the new workflow.
[](https://app.coderabbit.ai/change-stack/NVIDIA/NeMo-Relay/pull/155?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack)
Authors:
- Will Killian (https://github.com/willkill07)
Approvers:
- Bryan Bednarski (https://github.com/bbednarski9)
URL: #1551 parent 2243ec3 commit 2cc76fb
6 files changed
Lines changed: 83 additions & 121 deletions
File tree
- .github/workflows
- docs/contribute
- fern
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | 141 | | |
158 | 142 | | |
159 | 143 | | |
| |||
226 | 210 | | |
227 | 211 | | |
228 | 212 | | |
229 | | - | |
230 | 213 | | |
231 | 214 | | |
232 | 215 | | |
| |||
241 | 224 | | |
242 | 225 | | |
243 | 226 | | |
244 | | - | |
245 | 227 | | |
246 | 228 | | |
247 | 229 | | |
| |||
273 | 255 | | |
274 | 256 | | |
275 | 257 | | |
276 | | - | |
277 | | - | |
278 | 258 | | |
279 | 259 | | |
280 | 260 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
13 | 16 | | |
14 | 17 | | |
15 | 18 | | |
| |||
24 | 27 | | |
25 | 28 | | |
26 | 29 | | |
27 | | - | |
| 30 | + | |
28 | 31 | | |
29 | 32 | | |
30 | 33 | | |
| |||
147 | 150 | | |
148 | 151 | | |
149 | 152 | | |
150 | | - | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
151 | 156 | | |
152 | 157 | | |
153 | 158 | | |
| |||
172 | 177 | | |
173 | 178 | | |
174 | 179 | | |
175 | | - | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
176 | 233 | | |
177 | 234 | | |
178 | 235 | | |
| |||
186 | 243 | | |
187 | 244 | | |
188 | 245 | | |
| 246 | + | |
189 | 247 | | |
190 | 248 | | |
191 | 249 | | |
| |||
253 | 311 | | |
254 | 312 | | |
255 | 313 | | |
256 | | - | |
| 314 | + | |
257 | 315 | | |
258 | 316 | | |
259 | 317 | | |
| |||
302 | 360 | | |
303 | 361 | | |
304 | 362 | | |
305 | | - | |
| 363 | + | |
306 | 364 | | |
307 | 365 | | |
308 | 366 | | |
| |||
314 | 372 | | |
315 | 373 | | |
316 | 374 | | |
| 375 | + | |
317 | 376 | | |
318 | 377 | | |
319 | 378 | | |
| |||
403 | 462 | | |
404 | 463 | | |
405 | 464 | | |
406 | | - | |
| 465 | + | |
407 | 466 | | |
408 | 467 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
257 | | - | |
258 | | - | |
| 257 | + | |
| 258 | + | |
259 | 259 | | |
260 | 260 | | |
261 | 261 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
117 | 118 | | |
118 | 119 | | |
119 | 120 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
| 49 | + | |
| 50 | + | |
51 | 51 | | |
52 | | - | |
53 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| |||
0 commit comments