Browse Source

Try 4 - Fixes #1745 - Github action to generate API docs

Charlie Kindel 2 years ago
parent
commit
bfab6f0ad8
1 changed files with 7 additions and 7 deletions
  1. 7 7
      .github/workflows/api-docs.yml

+ 7 - 7
.github/workflows/api-docs.yml

@@ -31,13 +31,13 @@ jobs:
       run: docfx docfx.json
       run: docfx docfx.json
       continue-on-error: false      
       continue-on-error: false      
 
 
-      - name: Publish
-        if: github.event_name == 'push'
-        uses: peaceiris/actions-gh-pages@v3
-        with:
-          github_token: ${{ secrets.GITHUB_TOKEN }}
-          publish_dir: docs
-          force_orphan: true
+    - name: Publish
+      if: github.event_name == 'push'
+      uses: peaceiris/actions-gh-pages@v3
+      with:
+        github_token: ${{ secrets.GITHUB_TOKEN }}
+        publish_dir: docs
+        force_orphan: true
 
 
     # - name: Use docfx to build API Docs
     # - name: Use docfx to build API Docs
     #   uses: nikeee/[email protected]
     #   uses: nikeee/[email protected]