Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kangood committed May 24, 2024
1 parent 462a7f1 commit d53166f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ jobs:
script: |
PNPM_PATH=$(which pnpm)
PM2_PATH=$(which pm2)
export PATH="$(dirname $PNPM_PATH):$(dirname $PM2_PATH):$PATH"
cd /home/project/blog-web
git pull origin master
$PNPM_PATH install --production
$PM2_PATH restart blog-web
pnpm install --production
pm2 restart blog-web

0 comments on commit d53166f

Please sign in to comment.