diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9ed6066..5b491b3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -24,19 +24,11 @@ deploy: script: - cp -r ${CI_PROJECT_DIR}/* ${DEPLOY_PATH} -prestep: - stage: .pre - tags: - - shell - script: - - set -x - - cd ${CI_PROJECT_DIR} - - sed -E "s,(https://)(git.tablet.sh),\1pat:${PAT}@\2," -i .gitmodules - clone: stage: clone tags: - shell script: + - git config --global url."https://gitlab-ci-token:${CI_JOB_TOKEN}@git.tablet.sh/the-btfash-foundation/tablet.sh.git".insteadOf 'git@git.tablet.sh:the-btfash-foundation/tablet.sh.git' - git submodule sync - git submodule update --init --recursive \ No newline at end of file diff --git a/.gitmodules b/.gitmodules index b798400..2f7e5fe 100644 --- a/.gitmodules +++ b/.gitmodules @@ -3,4 +3,4 @@ url = https://github.com/alex-shpak/hugo-book [submodule "content"] path = content - url = ../../the-btfash-foundation/tablet.sh + url = git@git.tablet.sh:the-btfash-foundation/tablet.sh