feat/operator-add-int #58
This file contains hidden or 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: DocFX | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
generate_and_publish_docs: | |
runs-on: ubuntu-latest | |
name: Generate and publish the docs | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 9.0.x | |
- name: Install dependencies | |
run: dotnet tool install --global docfx | |
- name: Build Documentation | |
working-directory: ./doc | |
run: docfx docfx.json | |
- uses: maxheld83/ghpages@master | |
name: Publish Documentation on GitHub Pages | |
env: | |
BUILD_DIR: doc/_site # docfx's default output directory is _site | |
GH_PAT: ${{ secrets.GH_PAT }} # See https://github.com/maxheld83/ghpages |