Skip to content

Commit 4cc889c

Browse files
Merge pull request #9 from codingthunder/making-docs
Updated docs generation.
2 parents cb8014c + 69ad6c9 commit 4cc889c

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/generate-docs.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,16 @@ jobs:
2323
wget https://github.com/dotnet/docfx/releases/download/v2.58/docfx.zip
2424
unzip docfx.zip -d docfx
2525
26+
- name: Locate DocFX Path
27+
id: locate_docfx
28+
run: |
29+
DOCFX_PATH=$(find $GITHUB_WORKSPACE -name "docfx" -type f -executable | head -n 1)
30+
echo "DOCFX_PATH=$DOCFX_PATH" >> $GITHUB_ENV
31+
2632
- name: Generate Documentation
2733
run: |
28-
docfx/docfx/docfx docfx_project/docfx.json
34+
$DOCFX_PATH docfx_project/docfx.json
35+
2936
3037
- name: Publish to GitHub Wiki
3138
uses: peaceiris/actions-gh-pages@v3

0 commit comments

Comments
 (0)