Commit 65c2a662 authored by Cyril Matthey-Doret's avatar Cyril Matthey-Doret
Browse files

Update .gitlab-ci.yml file

parent c89e6381
Pipeline #315642 passed with stage
......@@ -25,7 +25,7 @@ pull_jupytext_github:
CI_PUSH_REPO=$(echo $CI_REPOSITORY_URL | perl -pe 's#.*@(.+?(\:\d+)?)/#git@\1:#')
git remote set-url --push origin "${CI_PUSH_REPO}"
git config user.name "Gitlab CI"
git config user.email "tokenowner@email.com"
git config user.email "cyril.matthey-doret@epfl.ch"
# runner runs on a detached HEAD, create a temporary local branch for editing
git checkout -b ci_processing
......@@ -33,7 +33,7 @@ pull_jupytext_github:
# update jupytext submodule
git submodule foreach git pull origin main
git add jupytext
git commit -m "sync: jupytext@$(git submodule status | sed 's/^ *//' | head -c8)"
git commit -m "sync: jupytext@$(git submodule status | cut -c2-9)"
# push changes
# always return true so that the build does not fail if there are no changes
......
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