deploy: prevent no app running in pm2
This commit is contained in:
@@ -40,4 +40,6 @@ jobs:
|
|||||||
corepack enable
|
corepack enable
|
||||||
yarn install --frozen-lockfile
|
yarn install --frozen-lockfile
|
||||||
yarn build
|
yarn build
|
||||||
pm2 restart app-beta-pawol
|
pm2 describe app-beta-pawol > /dev/null 2>&1 \
|
||||||
|
&& pm2 restart app-beta-pawol \
|
||||||
|
|| pm2 start yarn --name app-beta-pawol -- start
|
||||||
|
|||||||
Reference in New Issue
Block a user