Skip to content

Commit 339f1d0

Browse files
committed
Add pm2 restart after git pull
1 parent c000ac8 commit 339f1d0

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/deploy-beta.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,5 @@ jobs:
2020
git add -A
2121
git stash
2222
git pull origin beta
23+
pm2 stop beta
24+
pm2 start beta

.github/workflows/deploy-main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,5 @@ jobs:
2020
git add -A
2121
git stash
2222
git pull origin main
23+
pm2 stop zerohost-dashboard
24+
pm2 start zerohost-dashboard

0 commit comments

Comments
 (0)