mirror of
https://github.com/dotMorten/NmeaParser.git
synced 2025-12-06 07:12:04 +01:00
Update ghpages.yml
This commit is contained in:
parent
ac9d5f6fe0
commit
bdb4624753
12
.github/workflows/ghpages.yml
vendored
12
.github/workflows/ghpages.yml
vendored
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue