Browse Source

attempting to publish v1 AND v2 docs 5

Tigger Kindel 1 year ago
parent
commit
c2ca2b77cd
2 changed files with 5 additions and 5 deletions
  1. 3 3
      .github/workflows/api-docs.yml
  2. 2 2
      docfx/docfx.json

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

@@ -66,8 +66,8 @@ jobs:
       with:
         args: install docfx    
 
-    - name: Install dependencies
-      run: dotnet restore        
+    # - name: Install dependencies
+    #   run: dotnet restore        
 
     - name: DocFX Build
       working-directory: docfx
@@ -92,7 +92,7 @@ jobs:
       id: deployment
       uses: actions/deploy-pages@v2
       with:
-        github_token: ${{ secrets.GITHUB_TOKEN }}
+        token: ${{ secrets.GITHUB_TOKEN }}
 
         
     # - name: Use docfx to build API Docs

+ 2 - 2
docfx/docfx.json

@@ -16,7 +16,7 @@
       "dest": "api/Terminal.Gui",
       "shouldSkipMarkup": true,
       "properties": {
-          "TargetFramework": "net6.0"
+          "TargetFramework": "net7.0"
       }
     },
     {
@@ -35,7 +35,7 @@
       "dest": "api/UICatalog",
       "shouldSkipMarkup": false,
       "properties": {
-          "TargetFramework": "net6.0"
+          "TargetFramework": "net7.0"
       }
     }
   ],