deploy: prevent no app running in pm2
Déploiement FRONT BETA / check (push) Successful in 2m5s
Déploiement FRONT BETA / deploy (push) Successful in 19s

This commit is contained in:
2026-05-16 11:17:25 +04:00
parent c2cb86d27f
commit a3b53d4960
+3 -1
View File
@@ -40,4 +40,6 @@ jobs:
corepack enable
yarn install --frozen-lockfile
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