From a761a4e550b64f583a7cdf52fdc8c54120df9c87 Mon Sep 17 00:00:00 2001 From: Dragory <2606411+Dragory@users.noreply.github.com> Date: Sat, 4 May 2019 11:03:23 +0300 Subject: [PATCH] Add update.sh --- update.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 update.sh diff --git a/update.sh b/update.sh new file mode 100755 index 00000000..9fb2ae92 --- /dev/null +++ b/update.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +nvm use +git pull +npm ci +npm run build +pm2 restart process.json