From b7d1c1c5b3af3bbcca6fad82be33c4fc501bb6d1 Mon Sep 17 00:00:00 2001 From: andrewc Date: Tue, 24 Oct 2023 17:06:52 +1000 Subject: [PATCH] Try setting submodule origin manually --- kibot-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kibot-ci.yml b/kibot-ci.yml index beb3952..a3e68c0 100644 --- a/kibot-ci.yml +++ b/kibot-ci.yml @@ -127,9 +127,11 @@ image: rm -rf .git/modules/$d git submodule set-url $d https://ci_push:$TOKEN@gitlab.com/Micromelon/education/hardware/$REPO git submodule update --init --remote --merge $d + cd $d + git remote set-url origin https://ci_push:$TOKEN@gitlab.com/Micromelon/education/hardware/$REPO + cd $CI_PROJECT_DIR done git submodule status - cd $CI_PROJECT_DIR for d in "libs/melonlib" "libs/melon3d" do cd $d