Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
COVID-19
models
Commits
55d50b6d
Verified
Commit
55d50b6d
authored
Jul 14, 2020
by
Laurent Heirendt
✈
Browse files
change env var name
parent
6e5e72f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
55d50b6d
...
...
@@ -25,14 +25,14 @@ commit:
-
if
:
$CI_MERGE_REQUEST_ID
before_script
:
-
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 user.name $GIT_ACCESS_USER
-
git config user.email $GIT_ACCESS_EMAIL
script
:
-
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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment