Skip to content

Commit 5eeb455

Browse files
vicperdanaCopilot
andauthored
fix: set docs workflow inputPath for monorepo template location (#408)
The microsoft/ps-docs action defaults to scanning from the workspace root. After the monorepo restructure, templates moved from templates/ to packages/psdocs-azure/templates/, and the scanner was picking up invalid template.json files from subtree imports causing: Cannot process argument because the value of argument "name" is not valid. Set inputPath to packages/psdocs-azure/templates to restrict scanning to only the valid ARM templates. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 36aeba6 commit 5eeb455

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/docs.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535
uses: microsoft/ps-docs@main
3636
with:
3737
modules: PSDocs,PSDocs.Azure
38+
inputPath: packages/psdocs-azure/templates
3839
outputPath: docs/templates/
3940
prerelease: true
4041

0 commit comments

Comments
 (0)