diff --git a/.ostc-ci/gitlab-ci.yml b/.ostc-ci/gitlab-ci.yml index 2fdd3745e38a4b5761c096caaf015601ce25f2e5..875112cecd58d57c368f4b8d2a761d32dcecc11d 100644 --- a/.ostc-ci/gitlab-ci.yml +++ b/.ostc-ci/gitlab-ci.yml @@ -76,7 +76,7 @@ update-docs: trigger: OSTC/OHOS/docs rules: # Update the documentation when things land in the default branch. - - if: '$CI_BRANCH_NAME == "$CI_DEFAULT_BRANCH"' + - if: '$CI_BRANCH_NAME == $CI_DEFAULT_BRANCH' changes: # React to changes to the docs directory. - docs/**/*