File tree 1 file changed +4
-7
lines changed
1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -28,15 +28,12 @@ jobs:
28
28
with :
29
29
github_token : ${{ secrets.GITHUB_TOKEN }}
30
30
publish_dir : ./dist
31
- - name : Configure api docs generator
31
+ - name : Configure and build api docs generator
32
32
run : |
33
33
curl -LJO https://github.com/dotnet/docfx/releases/download/v2.56.7/docfx.zip
34
- unzip docfx.zip -d /home/runner/work/aws-lambda-powertools-dotnet/aws-lambda-powertools-dotnet/docfx && rm docfx.zip
35
- echo "/home/runner/work/aws-lambda-powertools-dotnet/aws-lambda-powertools-dotnet/docfx" >> $GITHUB_PATH
36
- - name : Build api docs
37
- run : |
38
- cd apidocs
39
- docfx docfx.json
34
+ unzip docfx.zip -d docfx && rm docfx.zip
35
+ cd docfx/
36
+ docfx apidocs/docfx.json
40
37
- name : Release API docs to latest
41
38
uses : peaceiris/actions-gh-pages@v3
42
39
with :
You can’t perform that action at this time.
0 commit comments