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

gitlab-ci.yml: fix CI_COMMIT_BRANCH variable


CI_BRANCH_NAME doesn't exist

Signed-off-by: default avatarZygmunt Krynicki <zygmunt.krynicki@huawei.com>
parent 5701039e
No related branches found
No related tags found
No related merge requests found
...@@ -76,7 +76,7 @@ update-docs: ...@@ -76,7 +76,7 @@ update-docs:
trigger: OSTC/OHOS/docs trigger: OSTC/OHOS/docs
rules: rules:
# Update the documentation when things land in the default branch. # Update the documentation when things land in the default branch.
- if: '$CI_BRANCH_NAME == $CI_DEFAULT_BRANCH' - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
changes: changes:
# React to changes to the docs directory. # React to changes to the docs directory.
- docs/**/* - 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