Skip to content

Merge branch 'master' into docs #63

Merge branch 'master' into docs

Merge branch 'master' into docs #63

Workflow file for this run

name: Publish Documentation
on:
push:
branches:
- docs
jobs:
publish-docs:
runs-on: ubuntu-latest
steps:
- name: Chekout
uses: actions/checkout@v3
- name: Dotnet Setup
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.x
- uses: nuget/setup-nuget@v1
name: Nuget Setup
- name: Nuget Restore
run: nuget restore Nautilus.sln
- name: Build Project
run: dotnet build Nautilus.sln -c SN.STABLE
- name: Install DocFX
run: dotnet tool update -g docfx
- name: Build documentation
run: docfx Nautilus/docfx.json
- name: Build documentation x2
run: docfx Nautilus/docfx.json
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: Nautilus/_site