From bdb462475388ea96d625628b78c456f5aa5d2c02 Mon Sep 17 00:00:00 2001 From: Morten Nielsen <1378165+dotMorten@users.noreply.github.com> Date: Mon, 20 Jan 2020 20:46:20 -0800 Subject: [PATCH] Update ghpages.yml --- .github/workflows/ghpages.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ghpages.yml b/.github/workflows/ghpages.yml index 45c6dc2..016c621 100644 --- a/.github/workflows/ghpages.yml +++ b/.github/workflows/ghpages.yml @@ -8,15 +8,21 @@ on: jobs: build: - runs-on: windows-latest + runs-on: ubuntu-latest steps: - name: Clone NmeaParser uses: actions/checkout@v1 + - name: Install .NET OMD Generator + run: dotnet tool install --global dotMorten.OmdGenerator + - name: Generate OMD + run: generateomd /source=src/NmeaParser /output=artifacts/docs/api/omd.html - name: Build Documentation - run: build/GenerateDoc.cmd + uses: nikeee/docfx-action@master + with: + args: docs\docfx.json - name: Publish Documentation - uses: maxheld83/ghpages@master + uses: maxheld83/ghpages@v0.2.1" env: BUILD_DIR: artifacts/docs_site GH_PAT: ${{ secrets.GH_PAT }}