Fix: use correct branch to deploy

This commit is contained in:
Pieter Vander Vennet 2023-06-24 00:24:30 +02:00
parent ca899561d5
commit 9c0dac28ad

View file

@ -52,7 +52,7 @@ jobs:
echo "Cloning destination repo" echo "Cloning destination repo"
git config --global user.email "pietervdvn@posteo.net" git config --global user.email "pietervdvn@posteo.net"
git config --global user.name "pietervdvn" git config --global user.name "pietervdvn"
git clone --depth 1 --single-branch --branch master "https://x-access-token:$DEPLOY_KEY_PIETERVDVN@github.com/MapComplete/mapcomplete.github.io.git" git clone --depth 1 --single-branch --branch main "https://x-access-token:$DEPLOY_KEY_PIETERVDVN@github.com/MapComplete/mapcomplete.github.io.git"
echo "Destination repo is cloned" echo "Destination repo is cloned"
- name: Sync repo - name: Sync repo