Skip to content

imp - Don't use Docker for docgen.yml #12

imp - Don't use Docker for docgen.yml

imp - Don't use Docker for docgen.yml #12

Workflow file for this run

name: KS API Documentation
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
name: "Make API Reference"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
name: Fetching the source
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Setup DocFX
run: dotnet tool install --global docfx --version 2.75.2
- name: Solution Compilation
run: dotnet build --configuration Release
- name: Generating documentation
run: docfx DocGen/docfx.json
- name: Saving changes to gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
commit_message: "Updated documentation to reflect latest changes"
personal_token: ${{ secrets.DOCGEN_TOKEN }}
publish_dir: ./docs/
publish_branch: gh-pages