Setting up CD

This commit is contained in:
pietervdvn 2021-06-01 14:53:16 +02:00
parent 446d988d80
commit 529e85d2b7

View file

@ -48,5 +48,10 @@ jobs:
cd mapcomplete.github.io/
echo "mapcomplete.osm.be" > CNAME
git add *
git commit -am "Deploying a new version"
git push
if git status | grep -q "Changes to be committed"
then
git commit -am "Deploying a new version"
git push
else
echo "No changes to commit"
fi