Add automatic sync steps

This commit is contained in:
pietervdvn 2021-05-28 13:43:27 +02:00
parent 5b1c8de489
commit e38b4fae64

View file

@ -17,9 +17,11 @@ cd ~/git/MapComplete
then
echo Not up to date with origin. Deploying!
git pull
npm run generate:translations
git commit -am "Sync translations"
git push
npm run generate:docs
git commit -am "Autgenerate docs and taginfo files"
npm run deploy:production
else
date
echo "No changes detected"
fi