diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d717773..4692bbd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -28,13 +28,14 @@ prestep: stage: .pre tags: - shell + script: + - cd ${CI_PROJECT_DIR} + - sed -iE -e "s,(https://)(git.tablet.sh),\1pat:\${PAT}@\2," .gitmodules clone: stage: clone tags: - shell script: - - cd ${CI_PROJECT_DIR} - - sed -iE -e "s,(https://)(git.tablet.sh),\1pat:\${PAT}@\2," .gitmodules - git submodule sync - git submodule update --init --recursive \ No newline at end of file