remove prestep
This commit is contained in:
parent
4f614e8dc4
commit
73e392c9a6
@ -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
|
2
.gitmodules
vendored
2
.gitmodules
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user