Skip to content

Commit 9a12564

Browse files
committed
[增加]1. 增加Docfx 生成
1 parent 669c223 commit 9a12564

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/docs-publish.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,12 @@ jobs:
2525
run: |
2626
dotnet tool install -g docfx
2727
echo "$HOME/.dotnet/tools" >> $GITHUB_PATH
28-
- name: Directory Switch
29-
run: cd ${{ github.workspace }}/docs
30-
31-
- name: look for docs
32-
run: pwd | ls
3328
3429
- name: Build Documentation
35-
run: docfx build docfx.json
30+
run: |
31+
cd ${{ github.workspace }}/docs
32+
pwd | ls
33+
docfx build docfx.json
3634
3735
- name: Deploy to GitHub Pages
3836
uses: peaceiris/actions-gh-pages@v3

0 commit comments

Comments
 (0)