mirror of
https://github.com/dotMorten/NmeaParser.git
synced 2026-01-27 19:04:17 +01:00
Update ghpages.yml
This commit is contained in:
parent
7d89e2b995
commit
1d972b3f77
21
.github/workflows/ghpages.yml
vendored
21
.github/workflows/ghpages.yml
vendored
|
|
@ -8,23 +8,24 @@ on:
|
|||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: windows-latest
|
||||
|
||||
steps:
|
||||
- name: Clone NmeaParser
|
||||
uses: actions/checkout@v1
|
||||
- name: Install .NET OMD Generator
|
||||
run: dotnet tool install --tool-path artifacts/toolset dotMorten.OmdGenerator --version 1.2.0
|
||||
# - name: Install .NET OMD Generator
|
||||
# run: dotnet tool install --tool-path artifacts/toolset dotMorten.OmdGenerator --version 1.2.0
|
||||
- name: restore nuget packages
|
||||
run: dotnet msbuild /t:restore src/NmeaParser/NmeaParser.csproj
|
||||
- name: Generate OMD
|
||||
run: |
|
||||
mkdir -p artifacts/docs/api
|
||||
artifacts/toolset/generateomd /source=src/NmeaParser /output=artifacts/docs/api/omd.html
|
||||
# - name: Generate OMD
|
||||
# run: |
|
||||
# mkdir artifacts/docs/api
|
||||
# artifacts/toolset/generateomd /source=src/NmeaParser /output=artifacts/docs/api/omd.html
|
||||
- name: Build Documentation
|
||||
uses: nikeee/docfx-action@master
|
||||
with:
|
||||
args: docs/docfx.json
|
||||
# uses: nikeee/docfx-action@master
|
||||
# with:
|
||||
# args: docs/docfx.json
|
||||
run: build\GenerateDoc.cmd
|
||||
- name: Publish Documentation
|
||||
uses: maxheld83/ghpages@master
|
||||
env:
|
||||
|
|
|
|||
Loading…
Reference in a new issue