commit bundled api

parent e0f9a604
Pipeline #6351 failed with stages
in 5 seconds
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment