Commit a1f238b8 by Jun Matsushita

Reset instead

parent bd35cab2
Pipeline #806 passed with stages
in 29 seconds
......@@ -11,7 +11,7 @@ build-json-schema:
script: bash -l "mson-to-json-schema.sh"
artifacts:
paths:
- entries/
- technology/
commit-json-schema:
tags:
......
......@@ -33,7 +33,7 @@ mkdir ~/.ssh || true
git remote add gitlab git@lab.openintegrity.org:metrics/measurements.git || true
ssh-keyscan -H lab.openintegrity.org >> ~/.ssh/known_hosts
git fetch gitlab
git checkout -b $CI_BUILD_REF_NAME
git reset gitlab/$CI_BUILD_REF_NAME
git add technology/*.json
git commit -a -m "Build $CI_BUILD_ID from GitLab-CI" --allow-empty
git push gitlab HEAD:$CI_BUILD_REF_NAME
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 sign in to comment