Skip to content

jobs: Minor cleanup. #822

jobs: Minor cleanup.

jobs: Minor cleanup. #822

Workflow file for this run

name: Documentation
on: [push]
jobs:
build-and-publish-docfx:
runs-on: ubuntu-latest
if: github.repository == 'freezy/VisualPinball.Engine' && github.ref == 'refs/heads/master'
name: Build and publish documentation
steps:
- uses: actions/checkout@v3
- uses: nikeee/[email protected]
name: Build Documentation
with:
args: VisualPinball.Unity/Documentation~/docfx.json
# Publish generated site using GitHub Pages
- uses: maxheld83/ghpages@master
name: Publish Documentation on GitHub Pages
env:
BUILD_DIR: VisualPinball.Unity/Documentation~/_site # docfx's default output directory is _site
GH_PAT: ${{ secrets.GH_PAT }} # See https://github.com/maxheld83/ghpages