Add automatic sync steps
This commit is contained in:
parent
5b1c8de489
commit
e38b4fae64
1 changed files with 6 additions and 4 deletions
|
@ -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
|
Loading…
Reference in a new issue