diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4ad2f13bc9..dd4b68f3ce 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -28,7 +28,7 @@ before_script: git pull "https://gitlab.com/${SOURCE_PROJECT}/veloren.git" "${SOURCE_BRANCH}"; fi; - git submodule sync --recursive - - git submodule update --remote --recursive + - git submodule update --init --recursive --depth 20 - git status - if [ -d target ]; then ls -la target; diff --git a/.gitmodules b/.gitmodules index 8bc3550784..64ed06aa47 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,4 +1,4 @@ [submodule "assets/voxygen"] path = assets/voxygen - url = https://gitlab.com/veloren/fresh-assets/voxygen.git + url = ../../veloren/fresh-assets/voxygen.git shallow = true