Update ghpages.yml

This commit is contained in:
Morten Nielsen 2020-01-20 20:46:20 -08:00 committed by GitHub
parent ac9d5f6fe0
commit bdb4624753
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 }}