entvex commented on code in PR #201:
URL: https://github.com/apache/pulsar-dotpulsar/pull/201#discussion_r1459007776


##########
.github/workflows/publish-to-nuget.yml:
##########
@@ -56,4 +56,30 @@ jobs:
       - name: Publish the package to nuget.org
         run: dotnet nuget push src/DotPulsar/bin/Release/*.nupkg --api-key 
$NUGET_AUTH_TOKEN --source https://api.nuget.org/v3/index.json
         env:
-          NUGET_AUTH_TOKEN: ${{ secrets.NUGET_KEY }}
\ No newline at end of file
+          NUGET_AUTH_TOKEN: ${{ secrets.NUGET_KEY }}
+          
+  build-web-api:
+    timeout-minutes: 120
+    needs: build
+    runs-on: ubuntu-latest
+    strategy:
+      fail-fast: false
+    steps:
+      - uses: actions/checkout@v3
+      
+      - name: Setup .NET
+        uses: actions/setup-dotnet@v3
+        with:
+          dotnet-version: '8.0.x'
+
+      - name: Build docs with docfx
+        run: |
+          dotnet tool update -g docfx
+          dotnet build -p:TargetFramework=net8.0
+          docfx docs/api/docfx.json
+
+      - name: Deploy to GitHub Pages
+        uses: peaceiris/actions-gh-pages@v3

Review Comment:
   I am pretty sure the default is gh-pages :)
   [docs](https://github.com/peaceiris/actions-gh-pages)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to