From 8cd403f0d798c82b54e4d58d7912c281ed131d0b Mon Sep 17 00:00:00 2001 From: ZhangJianyu Date: Fri, 8 Nov 2024 11:12:08 +0800 Subject: [PATCH] Add CI case to check online doc building, not update online doc Signed-off-by: ZhangJianyu --- .github/workflows/check-online-doc-build.yml | 32 ++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/check-online-doc-build.yml diff --git a/.github/workflows/check-online-doc-build.yml b/.github/workflows/check-online-doc-build.yml new file mode 100644 index 00000000..d7fb9643 --- /dev/null +++ b/.github/workflows/check-online-doc-build.yml @@ -0,0 +1,32 @@ +# Copyright (C) 2024 Intel Corporation +# SPDX-License-Identifier: Apache-2.0 + +name: Check Online Document Building +permissions: {} + +on: + pull_request: + branches: [main] + +jobs: + build: + runs-on: ubuntu-latest + steps: + + - name: Checkout + uses: actions/checkout@v4 + with: + path: GenAIEval + + - name: Checkout docs + uses: actions/checkout@v4 + with: + repository: opea-project/docs + path: docs + + - name: Build Online Document + shell: bash + run: | + echo "build online doc" + cd docs + bash scripts/build.sh