From 1011f4c8e9850aa76d41fdf2981acceb1cdb3747 Mon Sep 17 00:00:00 2001 From: Charlie Kindel Date: Fri, 16 Sep 2022 09:20:15 -0600 Subject: [PATCH] Try 2 - Fixes #1745 - Github action to generate API docs --- .github/workflows/api-docs.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/api-docs.yml b/.github/workflows/api-docs.yml index ea722922f..f529cd361 100644 --- a/.github/workflows/api-docs.yml +++ b/.github/workflows/api-docs.yml @@ -1,12 +1,18 @@ +name: Build and publish API docs + +on: + push: + branches: [main] + jobs: - build-publish-api-docs: + build: runs-on: ubuntu-latest - name: Build and publish API docs + steps: - uses: actions/checkout@v1 # ... - - uses: nikeee/docfx-action@v1.0.0 - name: Build API Documentation + - name: Use docfx to build API Docs + uses: nikeee/docfx-action@v1.0.0 with: args: docfx/docfx.json