File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -141,10 +141,11 @@ deploy:
141141 # so just deploy code to main
142142 - git config user.name "Gitlab Runner"
143143 - git config user.email ""
144+ - git fetch origin
144145 - git add info/owners.yaml info/RHMAINTAINERS info/CODEOWNERS
145146 # make it so that job will not fail if there is nothing to commit
146147 - git diff-index --quiet HEAD || git commit -m "[Gitlab CI/CD] Automated rebuild of info/*"
147- - git push https://gitlab-ci-token:$MAKE_MAINT@gitlab.com/redhat/centos-stream/src/kernel/documentation.git $CI_DEFAULT_BRANCH
148+ - git push https://gitlab-ci-token:$MAKE_MAINT@gitlab.com/redhat/centos-stream/src/kernel/documentation.git HEAD:main
148149
149150 rules :
150151 - if : ' $CI_PROJECT_NAMESPACE == "redhat/centos-stream/src/kernel" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
You can’t perform that action at this time.
0 commit comments