From de16cd8fb1f095941bc6d45d76a4c79072778c2d Mon Sep 17 00:00:00 2001 From: Tiago Barbosa Date: Thu, 10 Feb 2022 14:19:53 +0000 Subject: [PATCH] docs: update github actions to publish api docs (#80) * adding api docs project structure * fix path for source projects * updated github actions to publish api docs * adding docfx configuration to github actions --- .github/workflows/docs.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index b9eaa8b7..18fd7e02 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -28,6 +28,14 @@ jobs: with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./dist + - name: Configure api docs generator + run: | + /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" + brew install docfx + - name: Build api docs + run: | + cd apidocs + docfx docfx.json - name: Release API docs to latest uses: peaceiris/actions-gh-pages@v3 with: