release: v0.0.1-preview.125. #835
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |