diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b23774d..2aa24e9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -32,7 +32,7 @@ clone: before_script: - set -x - varia="$(git config --local --list | grep -iE '^url')" - - "[[ -z $varia ]] && (echo $varia | sed -E 's,=.*$,,gm' | xargs -d $'\n' -I '{}' git config --local --unset '{}')" + - "[[ -n $varia ]] && (echo $varia | sed -E 's,=.*$,,gm' | xargs -d $'\n' -I '{}' git config --local --unset '{}')" - git config --local url."https://deployer:${DEPLOY_TOKEN}@git.tablet.sh/".insteadOf "git@git.tablet.sh:" ##- git config --local submodule.content.url "https://deployer:${DEPLOY_TOKEN}@git.tablet.sh/the-btfash-foundation/tablet.sh" script: