Verified Commit 55d50b6d authored by Laurent Heirendt's avatar Laurent Heirendt
Browse files

change env var name

parent 6e5e72f9
......@@ -25,14 +25,14 @@ commit:
- url_host=`git remote get-url origin | sed -e "s/https:\/\/gitlab-ci-token:.*@//g"`
- git checkout -b tmpBranch origin/$CI_COMMIT_BRANCH
- git checkout -b tmpBranch origin/$CI_COMMIT_REF_NAME
- git remote set-url origin "https://$GIT_ACCESS_USER:$GIT_ACCESS_TOKEN@${url_host}"
- git config $GIT_ACCESS_USER
- git config $GIT_ACCESS_EMAIL
- git add --all
- git commit -m "Update models"
- git checkout $CI_COMMIT_BRANCH
- git checkout $CI_COMMIT_REF_NAME
- git merge tmpBranch --ff
- git push origin $CI_COMMIT_BRANCH
- git push origin $CI_COMMIT_REF_NAME
- git branch -D tmpBranch
\ No newline at end of file
Supports Markdown
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