File tree Expand file tree Collapse file tree 2 files changed +3
-9
lines changed
Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -49,16 +49,10 @@ install:
4949test-antora-build :
5050 stage : test
5151 script :
52- - git show --summary
53- - git show-ref --head
5452 - git checkout $CI_COMMIT_REF_NAME
5553 - git show --summary
5654 - 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
55+ - sed -i "s#CURRENT_BRANCH#$CI_COMMIT_REF_NAME#g" head-playbook.yml
6256 - *npm_install
6357 - cd antora-ui
6458 - gulp bundle
Original file line number Diff line number Diff line change @@ -13,11 +13,11 @@ runtime:
1313content :
1414 sources :
1515 - url : https://gitlab.uib.gmbh/uib/opsidoc.git
16- branches : [HEAD ]
16+ branches : [CURRENT_BRANCH ]
1717 edit_url : ' {web_url}/-/edit/{refname}/{path}'
1818 start_path : docs/de
1919 - url : https://gitlab.uib.gmbh/uib/opsidoc.git
20- branches : [HEAD ]
20+ branches : [CURRENT_BRANCH ]
2121 start_path : docs/en
2222 edit_url : ' {web_url}/-/edit/{refname}/{path}'
2323ui :
You can’t perform that action at this time.
0 commit comments