Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kangood committed Jun 6, 2024
1 parent baa734c commit af9181e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ jobs:
username: ${{ secrets.SERVER_USERNAME }}
key: ${{ secrets.SERVER_SSH_KEY }}
script: |
cd /home/project/blog-web
git pull
cd /home/project/blog-web
git pull origin master --force
/root/.node_modules/bin/pnpm install
/root/.node_modules/bin/pnpm build
/root/.node_modules/bin/pm2 restart blog-web

0 comments on commit af9181e

Please sign in to comment.