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 25, 2024
1 parent b66a20f commit 097c441
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@ jobs:
username: ${{ secrets.SERVER_USERNAME }}
key: ${{ secrets.SERVER_SSH_KEY }}
script: |
which pnpm
echo $PATH
cd /home/project/blog-web
/usr/bin/zsh ./deploy.sh
git pull
/root/.node_modules/bin/pnpm install
/root/.node_modules/bin/pnpm build
/root/.node_modules/bin/pm2 restart blog-web

0 comments on commit 097c441

Please sign in to comment.