Skip to content
Snippets Groups Projects
Commit 5701039e authored by Zygmunt Krynicki's avatar Zygmunt Krynicki
Browse files

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: default avatarZygmunt Krynicki <zygmunt.krynicki@huawei.com>
parent e4132121
No related branches found
No related tags found
No related merge requests found
......@@ -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/**/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment