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 75f5cff commit ed57cab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,6 @@ jobs:
cd /home/project/blog-web
git pull origin master
pnpm install --production
pnpm build
pm2 restart blog-web
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"dev": "cross-env next dev -p 6603",
"build": "cross-env next build && cross-env NODE_OPTIONS='--experimental-json-modules' node ./scripts/postContentlayer.mjs",
"serve": "next start -p 6603",
"pm2:prod": "pm2 start pnpm --name blog-web -- serve",
"analyze": "cross-env ANALYZE=true next build",
"lint": "next lint --fix --dir pages --dir app --dir components --dir lib --dir layouts"
},
Expand Down

0 comments on commit ed57cab

Please sign in to comment.