Loading .gitlab-ci.yml +2 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,8 @@ test: - git config --global user.name "Gitlab runner" - git add -f ${PWD}/spec/updated/generated/full_api.json - git commit -m "Update bundled spec." || echo "No changes, nothing to commit!" - url_host=`git remote get-url origin | sed -e "s/https:\/\/gitlab-ci-token:.*@//g"` - git remote set-url origin "https://gitlab-ci-token:${GIT_PUSH_TOKEN}@${url_host}" - git push origin HEAD:$CI_COMMIT_REF_NAME allow_failure: false Loading
.gitlab-ci.yml +2 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,8 @@ test: - git config --global user.name "Gitlab runner" - git add -f ${PWD}/spec/updated/generated/full_api.json - git commit -m "Update bundled spec." || echo "No changes, nothing to commit!" - url_host=`git remote get-url origin | sed -e "s/https:\/\/gitlab-ci-token:.*@//g"` - git remote set-url origin "https://gitlab-ci-token:${GIT_PUSH_TOKEN}@${url_host}" - git push origin HEAD:$CI_COMMIT_REF_NAME allow_failure: false