diff --git a/.github/workflows/docs-publish.yml b/.github/workflows/docs-publish.yml index fe888839..bbcae372 100644 --- a/.github/workflows/docs-publish.yml +++ b/.github/workflows/docs-publish.yml @@ -14,24 +14,21 @@ concurrency: jobs: build: - runs-on: windows-latest + runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Setup .NET Core uses: actions/setup-dotnet@v4 with: - dotnet-version: 3.1.x - - name: Setup DocFX - uses: crazy-max/ghaction-chocolatey@v1 - with: - args: install docfx + dotnet-version: 8.x - name: Install dependencies run: dotnet restore working-directory: src/Textkernel.Tx.SDK # generate the DocFX docs into the /docfx/_site folder - - name: DocFX Build - working-directory: docfx - run: docfx docfx.json + - name: Build Documentation + uses: nunit/docfx-action@v4.1.0 + with: + args: docfx/docfx.json continue-on-error: false # upload the generated docs into an artifact that can be used by the job below - name: Upload Artifacts diff --git a/docfx/docfx.json b/docfx/docfx.json index a8f33f15..124a0424 100644 --- a/docfx/docfx.json +++ b/docfx/docfx.json @@ -24,8 +24,6 @@ }, { "files": [ - "examples/**.md", - "examples/**/toc.yml", "toc.yml", "*.md" ]