Commit 3e9dcdf9 authored by Federico Falconieri's avatar Federico Falconieri
Browse files

fix: clone only last commit

rather than the whole history
parent c7b036c2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -9,5 +9,5 @@ clone:
        git config --global user.email 'bot@mail.com' &&
        git config --global user.name 'bot' &&
        rm -rf $CI_PROJECT_NAME &&
        git clone --recurse-submodules --branch $CI_COMMIT_REF_NAME https://${DEPLOY_USER}:${DEPLOY_TOKEN}@${CI_SERVER_HOST}/gitlab/${CI_PROJECT_PATH} &&
        git clone --recurse-submodules --branch $CI_COMMIT_REF_NAME --depth 1 https://${DEPLOY_USER}:${DEPLOY_TOKEN}@${CI_SERVER_HOST}/gitlab/${CI_PROJECT_PATH} &&
        exit"