diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index aa0e723..5aaf2ff 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -31,8 +31,8 @@ clone: - shell before_script: - set -x - - "varia=$(git config --local --list | grep -iE '^url') [[ -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:" + #- "varia=$(git config --local --list | grep -iE '^url') [[ -n $varia ]] && (echo $varia | sed -E 's,=.*$,,gm' | xargs -d $'\n' -I '{}' git config --local --unset '{}')" + - sed -i .gitmodules -E "s,git@(git.tablet.sh):,https://deployer:\${DEPLOY_TOKEN}@\1," ##- git config --local submodule.content.url "https://deployer:${DEPLOY_TOKEN}@git.tablet.sh/the-btfash-foundation/tablet.sh" script: - git submodule sync