From 5701039ed9670f70190d1203c6ca39fb877c76dc Mon Sep 17 00:00:00 2001
From: Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
Date: Tue, 30 Mar 2021 23:21:26 +0200
Subject: [PATCH] gitlab-ci.yml: fix update-docs job

The rules engine doesn't handle quotes in the normal sense.
Quotes are only allowed on literals, not variable references.

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
---
 .ostc-ci/gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.ostc-ci/gitlab-ci.yml b/.ostc-ci/gitlab-ci.yml
index 2fdd3745..875112ce 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/**/*
-- 
GitLab