commit bundled api

parent 29c1ed83
Pipeline #6352 failed with stages
in 5 seconds
......@@ -28,7 +28,7 @@ test:
- 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 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