From ecb24b8670f094ba36a1166d1fb09ac310f8e254 Mon Sep 17 00:00:00 2001 From: andrewc Date: Tue, 24 Oct 2023 15:54:41 +1000 Subject: [PATCH] Try git pull in submodule --- kibot-ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/kibot-ci.yml b/kibot-ci.yml index c48fdda..1b0cad0 100644 --- a/kibot-ci.yml +++ b/kibot-ci.yml @@ -123,7 +123,10 @@ image: REPO=$(basename $(git remote get-url origin)) cd $CI_PROJECT_DIR git submodule set-url $d https://ci_push:$TOKEN@gitlab.com/Micromelon/education/hardware/$REPO - git submodule sync $d + cd $d + git fetch --all + git pull + cd $CI_PROJECT_DIR git submodule update --init --remote --merge $d done git submodule status