From 73e392c9a6d5809c0e7b37b4750862c70d58291e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=98=99=E2=97=A6=20The=20Tablet=20=E2=9D=80=20GamerGirla?= =?UTF-8?q?ndCo=20=E2=97=A6=E2=9D=A7?= Date: Tue, 2 Jan 2024 20:04:15 -0500 Subject: [PATCH] remove prestep --- .gitlab-ci.yml | 10 +--------- .gitmodules | 2 +- 2 files changed, 2 insertions(+), 10 deletions(-) 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