From b05ecf858357f4babb43ba02f6cc20b3b490bc25 Mon Sep 17 00:00:00 2001 From: Andrei Gherzan <andrei.gherzan@huawei.com> Date: Wed, 24 Mar 2021 12:05:00 +0000 Subject: [PATCH] gitlab-ci.yml: Build docs Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> --- .ostc-ci/gitlab-ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.ostc-ci/gitlab-ci.yml b/.ostc-ci/gitlab-ci.yml index e4083808..e6276e8e 100644 --- a/.ostc-ci/gitlab-ci.yml +++ b/.ostc-ci/gitlab-ci.yml @@ -41,6 +41,17 @@ reuse: # FIXME: https://git.ostc-eu.org/OSTC/OHOS/meta-ohos/-/issues/19 allow_failure: true +build-docs: + image: + name: registry.ostc-eu.org/ostc/containers/ostc-docs-builder + script: + - cd docs && make + artifacts: + paths: + - docs/build + rules: + # Build the docs when a merge request is created. + - if: '$CI_PIPELINE_SOURCE == "merge_request_event"' # Customize the generic .build job, included from build-generic.yaml above, # with settings for testing updates to the meta-ohos git repository. -- GitLab