浏览代码

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

Charlie Kindel 2 年之前
父节点
当前提交
bfab6f0ad8
共有 1 个文件被更改,包括 7 次插入7 次删除
  1. 7 7
      .github/workflows/api-docs.yml

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

@@ -31,13 +31,13 @@ jobs:
       run: docfx docfx.json
       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
     #   uses: nikeee/[email protected]