diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 180aa2504525ec809141483a334d108ec4362873..e4b90dcb2311e62cf727c9693c24cfc0968d37ec 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -25,8 +25,7 @@ test: - docker run --network host --rm -v ${PWD}/:/local openapitools/openapi-generator-cli validate -i /local/spec/updated/generated/full_api.json - echo ${PWD} - ls /spec/updated/generated/ - - git config --global user.email "${CI_EMAIL}" - - git config --global user.name "${CI_USERNAME}" + - git config --global user.name "${CI_DEPLOY_USER}" - git add -f ${PWD}/spec/updated/generated/full_api.json - git commit -m "Update bundled spec." || echo "No changes, nothing to commit!" - git remote rm origin && git remote add origin git@gitlab.com:$CI_PROJECT_PATH.git