deploy: prevent no app running in pm2
Déploiement API BETA / build (push) Successful in 2m6s
Déploiement API BETA / deploy (push) Successful in 44s

This commit is contained in:
2026-05-16 11:17:30 +04:00
parent 1b15741643
commit 4fc9df88f4
+3 -1
View File
@@ -43,4 +43,6 @@ jobs:
corepack enable
yarn install --frozen-lockfile
NODE_ENV=production yarn build
pm2 restart api-beta-pawol
pm2 describe api-beta-pawol > /dev/null 2>&1 \
&& pm2 restart api-beta-pawol \
|| pm2 start yarn --name api-beta-pawol -- start