From 0ba46fb90b7111dc67857ce7640550a176605aed Mon Sep 17 00:00:00 2001 From: Kirk Scheibelhut Date: Mon, 6 Nov 2023 22:18:03 -0800 Subject: [PATCH] fix deploy script --- deploy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy b/deploy index d58ec0e..8b0df0d 100755 --- a/deploy +++ b/deploy @@ -13,7 +13,7 @@ git diff --quiet $HEAD package.json >/dev/null || npm install --omit=dev --silen git diff --quiet $HEAD config/*.{service,timer} || sudo systemctl daemon-reload # Restart the server which will trigger a rebuild -systemctl restart pkmn.ai.server +npm run build # TODO sudo service pkmn.ai.server restart # Reload NGINX if the config has changed -git diff --quiet $HEAD config/nginx.conf || sudo systemctl daemon-reload +git diff --quiet $HEAD config/nginx.conf || sudo service nginx reload