From d397f982cf43576c0a11595a6de719014b34e0c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20Moska=C5=82a?= <91079590+moskalakamil@users.noreply.github.com> Date: Tue, 10 Dec 2024 21:02:40 +0100 Subject: [PATCH] ci(docs): check docs build on PR (#205) --- .github/workflows/check-docs-build.yml | 27 ++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/check-docs-build.yml 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