Unverified Commit fa1b9878 authored by Stefan Wiedemann's avatar Stefan Wiedemann
Browse files

commit bundled api

parent 415f5df6
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -25,7 +25,7 @@ test:
    - docker run --network host --rm -v ${PWD}/:/local openapitools/openapi-generator-cli validate -i /local/spec/updated/generated/full_api.json
    - docker run --network host --rm -v ${PWD}/:/local openapitools/openapi-generator-cli validate -i /local/spec/updated/generated/full_api.json
    - git config --global user.email "${CI_EMAIL}"
    - git config --global user.email "${CI_EMAIL}"
    - git config --global user.name "${CI_USERNAME}"
    - git config --global user.name "${CI_USERNAME}"
    - git add -f /spec/updated/generated/full_api.json
    - git add -f ${PWD}/spec/updated/generated/full_api.json
    - git commit -m "Update bundled spec." || echo "No changes, nothing to commit!"
    - 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
    - git remote rm origin && git remote add origin git@gitlab.com:$CI_PROJECT_PATH.git
    - git push origin HEAD:$CI_COMMIT_REF_NAME
    - git push origin HEAD:$CI_COMMIT_REF_NAME