From bee51446a524feae659f3a1686f79983064d8cfe Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Tue, 1 Jun 2021 14:03:35 +0200 Subject: [PATCH] Setting up CD --- .github/workflows/theme_validation_and_deploy.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/theme_validation_and_deploy.yml b/.github/workflows/theme_validation_and_deploy.yml index 9cacb74420..7121f43f8f 100644 --- a/.github/workflows/theme_validation_and_deploy.yml +++ b/.github/workflows/theme_validation_and_deploy.yml @@ -14,12 +14,14 @@ jobs: - name: Clone deployment repo run: | echo "Cloning destination repo" - git config --global user.email "pietervdvn+mapcomplete@posteo.net" + 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" echo "Destination repo is cloned" - name: "Copying files" + env: + DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }} run: | echo "Deploying" # rm -rf mapcomplete.github.io/*