Try git pull in submodule

This commit is contained in:
andrewc
2023-10-24 15:54:41 +10:00
parent 3ae5e59e96
commit ecb24b8670

View File

@@ -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