скрипт деплоя

This commit is contained in:
Alexey Kasyanchuk 2017-01-04 10:48:46 +03:00
parent 6623f9db74
commit 4ddf1910cc

8
deploy Executable file
View File

@ -0,0 +1,8 @@
#!/bin/bash
SOURCE_PATH="`dirname \"$0\"`"
cd "$SOURCE_PATH"
npm install
pw2 stop index.js
npm run build
pw2 start index.js