Skip to content

Docs

Docs #9

Workflow file for this run

name: Docs
on:
push:
tags: 'v*'
workflow_dispatch:
jobs:
generate-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: '7.x'
- name: Install dependencies
run: dotnet tool update -g docfx
- name: Install template
run: |
wget https://github.com/ovasquez/docfx-material/releases/download/1.0.0/material.zip
unzip material.zip -d docs/templates
- name: Generate docs
run: docfx docs/docfx.json
- name: Deploy docs
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_site