Skip to content

Commit

Permalink
fix deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
scheibo committed Nov 7, 2023
1 parent be6a393 commit 0ba46fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deploy
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 0ba46fb

Please sign in to comment.