Add update.sh

This commit is contained in:
Dragory 2019-05-04 11:03:23 +03:00
parent 79c36c2521
commit a761a4e550

7
update.sh Executable file
View file

@ -0,0 +1,7 @@
#!/bin/bash
nvm use
git pull
npm ci
npm run build
pm2 restart process.json