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

gitlab-ci.yml: use $CI_DEFAULT_BRANCH instead of main


Signed-off-by: default avatarZygmunt Krynicki <zygmunt.krynicki@huawei.com>
parent f7a1948b
No related branches found
No related tags found
No related merge requests found
...@@ -85,4 +85,4 @@ deploy: ...@@ -85,4 +85,4 @@ deploy:
echo "Nothing new to commit."; echo "Nothing new to commit.";
fi fi
rules: rules:
- if: '$CI_COMMIT_BRANCH == "main"' - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
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