Commit 1f0123a
committed
fix(ci): populate frozen version content in preview build and surface fern errors
The preview build workflow did not run git archive to populate
fern/versions/v0.3.0-content/, causing fern generate --preview to fail
with ENOENT on every PR since #316 merged. Add the same git archive
step from the publish workflow.
Also switch the comment workflow's Generate preview URL step from the
OUTPUT=$(fern ... 2>&1) pattern to tee-based streaming so fern errors
are visible in the Actions log on failure.
Fixes #321
Signed-off-by: Pete MacKinnon <pmackinnon@nvidia.com>1 parent 9f1f8a6 commit 1f0123a
2 files changed
Lines changed: 24 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
63 | 84 | | |
64 | 85 | | |
65 | 86 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | | - | |
72 | | - | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
0 commit comments