Skip to content

Commit

Permalink
[Fix] pm2로 인한 cicd 코드 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Ariling committed Oct 24, 2023
1 parent d1cf625 commit c1d592a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions deploy.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
REPOSITORY=/home/ubuntu/deploy

cd $REPOSITORY
cd $REPOSITORY

sudo yarn install

yarn deploy
sudo pm2 reload all
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
"deploy": "pm2 start ecosystem.config.js --env production"
"lint": "next lint"
},
"dependencies": {
"@emotion/react": "^11.11.1",
Expand Down

0 comments on commit c1d592a

Please sign in to comment.