Add deployment of branches

This commit is contained in:
pietervdvn 2021-06-02 00:31:14 +02:00
parent 92563ed2eb
commit a2bb21214b

View file

@ -44,11 +44,11 @@ jobs:
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/
cd pietervdvn.github.io/
git add *
if git status | grep -q "Changes to be committed"
then
git commit -am "Deploying a new version"
git commit -am "Deploying a new version of mapcomplete"
git push
else
echo "No changes to commit"