Skip to content

Commit 26f7c9f

Browse files
committed
feat(ci): signal the pipeline that docs generation failed
1 parent eada852 commit 26f7c9f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/loaders/apirefloader.fsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,9 @@ let loader (projectRoot: string) (siteContet: SiteContents) =
108108
printfn $"Warning: Could not find {projectArtifactName} in any of the expected locations:"
109109
possiblePaths |> List.iter (printfn " - %s")
110110
printfn "API documentation will not be generated."
111+
Environment.Exit 1
111112
with
112113
| ex ->
113114
printfn "Error in API reference loader: %A" ex
114-
115+
Environment.Exit 1
115116
siteContet

0 commit comments

Comments
 (0)