Skip to content

Commit 951602f

Browse files
committed
[chg] test co CI_COMMIT_BRANCH
1 parent 6831f1e commit 951602f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.gitlab-ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ test-antora-build:
5454
- git checkout $CI_COMMIT_REF_NAME
5555
- git show --summary
5656
- git show-ref --head
57+
- - if [ "$CI_COMMIT_BRANCH" != "" ]; then
58+
- git checkout $CI_COMMIT_BRANCH
59+
- fi
60+
- git show --summary
61+
- git show-ref --head
5762
- *npm_install
5863
- cd antora-ui
5964
- gulp bundle

0 commit comments

Comments
 (0)