Add CI case to check online doc building, not update online doc (#867)

Co-authored-by: ZhangJianyu <zhang.jianyu@outlook.com>
This commit is contained in:
Neo Zhang Jianyu
2024-11-08 11:56:46 +08:00
committed by GitHub
parent 453ff726a6
commit 5eca5da368

View File

@@ -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: GenAIComps
- 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