Skip to content

Resolves #640 - Adds type-forwarders NET 5.0+ (#641) #210

Resolves #640 - Adds type-forwarders NET 5.0+ (#641)

Resolves #640 - Adds type-forwarders NET 5.0+ (#641) #210

Workflow file for this run

name: Update Docs
on:
push:
branches:
- main
permissions:
contents: write
pages: write
id-token: write
jobs:
update-docs:
name: docfx
runs-on: ubuntu-latest
if: contains(github.event.head_commit.message, '[nats:update-docs]')
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.x'
- run: dotnet tool update -g docfx
- run: docfx docs/docfx.json
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: docs/_site
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2