Loading .gitlab-ci.yml +1 −2 Original line number Diff line number Diff line Loading @@ -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 Loading Loading
.gitlab-ci.yml +1 −2 Original line number Diff line number Diff line Loading @@ -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 Loading