Skip to content

have mapi installed #105

have mapi installed

have mapi installed #105

Workflow file for this run

name: docs
on:
push:
branches: [ master, docs ]
jobs:
docfx:
if: github.event_name == 'push'
runs-on: ubuntu-latest
steps:
- name: Checkout master
uses: actions/checkout@v4
with:
ref: master
path: master
- name: Checkout docs
uses: actions/checkout@v4
with:
ref: docs
path: master/docs
- name: Setup MAPI
uses: BadMagic100/setup-hk@v2
with:
apiPath: HkRefs
dependencyFilePath: master/ModDependencies.txt
- name: Build docs
uses: nunit/[email protected]
with:
args: master/docs/docfx.json
#- name: Setup .NET
# uses: actions/setup-dotnet@v3
#- name: Setup ms-build, mono
# run: sudo apt-get install -y nuget mono-devel mono-xbuild
#- name: Download DocFX
# working-directory: docs
# run: |
# wget https://github.com/dotnet/docfx/releases/download/v2.61.0/docfx-linux-x64-v2.61.0.zip -O docfx.zip
# unzip docfx.zip -d docfx
#- name: Build docs
# working-directory: docs
# run: |
# docfx/docfx
- name: Publish
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_site
force_orphan: true