Skip to content

Commit d1ac537

Browse files
committed
Use working-directory for docfx step otherwise codeSourceBasePath is not resolved correctly
1 parent 141d7fa commit d1ac537

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/publish-docs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ jobs:
3232
dotnet-version: 8.x
3333

3434
- run: dotnet tool update -g docfx
35-
- run: docfx docs/docfx.json
35+
- run: docfx docfx.json
36+
# use working-directory for docfx step otherwise codeSourceBasePath is not resolved correctly
37+
working-directory: docs
3638

3739
- name: Upload artifact
3840
uses: actions/upload-pages-artifact@v3

0 commit comments

Comments
 (0)