From e38b4fae64a0d73f3b78a88036dabb2c16ced2a6 Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Fri, 28 May 2021 13:43:27 +0200 Subject: [PATCH] Add automatic sync steps --- scripts/deployIfChanged.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/scripts/deployIfChanged.sh b/scripts/deployIfChanged.sh index b0317aafd..d9d948365 100755 --- a/scripts/deployIfChanged.sh +++ b/scripts/deployIfChanged.sh @@ -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 \ No newline at end of file