Add deployment of branches

This commit is contained in:
pietervdvn 2021-06-02 00:25:52 +02:00
parent 73736cc4a7
commit 92563ed2eb

View file

@ -40,8 +40,8 @@ jobs:
- name: "Copying files"
run: |
echo "Deploying"
rm -rf pietervdvn.github.io/mc/$GITHUB_REF/*
TARGET=${$GITHUB_REF:11}
TARGET=${GITHUB_REF:11}
rm -rf pietervdvn.github.io/mc/$TARGET/*
mkdir -p pietervdvn.github.io/mc/$TARGET/
cp -r dist/* pietervdvn.github.io/mc/$TARGET/
cd mapcomplete.github.io/