diff --git a/.github/workflows/check-docs-build.yml b/.github/workflows/check-docs-build.yml new file mode 100644 index 0000000..3bb3692 --- /dev/null +++ b/.github/workflows/check-docs-build.yml @@ -0,0 +1,27 @@ +name: Check Documentation Build + +on: + workflow_dispatch: + pull_request: + paths: + - '.github/workflows/check-docs-build.yml' + - 'docs/**' +jobs: + build_docs: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v3 + with: + submodules: recursive + + - name: Setup + uses: ./.github/actions/setup + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + + - name: Build Documentation + run: | + cd docs + yarn install + yarn build