From 446d988d80e65a541ebaad597b8d06160b39f2d5 Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Tue, 1 Jun 2021 14:46:27 +0200 Subject: [PATCH] Setting up CD --- .github/workflows/theme_validation_and_deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/theme_validation_and_deploy.yml b/.github/workflows/theme_validation_and_deploy.yml index 0557bcad68..eec8939fa7 100644 --- a/.github/workflows/theme_validation_and_deploy.yml +++ b/.github/workflows/theme_validation_and_deploy.yml @@ -37,7 +37,7 @@ jobs: echo "Cloning destination repo" git config --global user.email "pietervdvn@posteo.net" git config --global user.name "MapComplete" - git clone --single-branch --branch main "https://x-access-token:$DEPLOY_KEY@github.com/MapComplete/mapcomplete.github.io.git" + git clone --depth 1 --single-branch --branch main "https://x-access-token:$DEPLOY_KEY@github.com/MapComplete/mapcomplete.github.io.git" echo "Destination repo is cloned" - name: "Copying files"