Add deployment of branches

This commit is contained in:
pietervdvn 2021-06-02 00:18:43 +02:00
parent a25b05de67
commit 73736cc4a7

View file

@ -41,7 +41,9 @@ jobs:
run: |
echo "Deploying"
rm -rf pietervdvn.github.io/mc/$GITHUB_REF/*
cp -r dist/* pietervdvn.github.io/mc/$GITHUB_REF/
TARGET=${$GITHUB_REF:11}
mkdir -p pietervdvn.github.io/mc/$TARGET/
cp -r dist/* pietervdvn.github.io/mc/$TARGET/
cd mapcomplete.github.io/
git add *
if git status | grep -q "Changes to be committed"