Skip to content

Commit

Permalink
Add CI case to check online doc building, not update online doc
Browse files Browse the repository at this point in the history
Signed-off-by: ZhangJianyu <zhang.jianyu@outlook.com>
  • Loading branch information
arthw committed Nov 8, 2024
1 parent 2c8ca26 commit 8cd403f
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/check-online-doc-build.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 8cd403f

Please sign in to comment.