Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
COVID-19
models
Commits
1cf5206f
Verified
Commit
1cf5206f
authored
Jul 14, 2020
by
Laurent Heirendt
✈
Browse files
exception
parent
bd6d22a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
1cf5206f
...
...
@@ -7,6 +7,7 @@ convert:
stage
:
convert
rules
:
-
if
:
$CI_MERGE_REQUEST_ID
-
if
:
$CI_COMMIT_MESSAGE =~ /Update models/
before_script
:
-
pip install casq
script
:
...
...
@@ -23,7 +24,9 @@ commit:
stage
:
deploy
rules
:
-
if
:
$CI_MERGE_REQUEST_ID
-
if
:
$CI_COMMIT_MESSAGE =~ /Update models/
before_script
:
-
env
-
url_host=`git remote get-url origin | sed -e "s/https:\/\/gitlab-ci-token:.*@//g"`
-
git checkout -b tmpBranch origin/$CI_COMMIT_REF_NAME
-
git remote set-url origin "https://$GIT_ACCESS_USER:$GIT_ACCESS_TOKEN@${url_host}"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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