Setting up CD

This commit is contained in:
pietervdvn 2021-06-01 14:03:35 +02:00
parent 32398195a0
commit bee51446a5

View file

@ -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/*