Skip to content

Commit

Permalink
[FEAT] 배포수정
Browse files Browse the repository at this point in the history
  • Loading branch information
dltjdn committed Jul 16, 2022
1 parent 7adfad6 commit 7af73ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"main": "index.js",
"scripts": {
"dev": "nodemon",
"build": "tsc"
"build": "tsc",
"start:dev": "node dist/index.js"
},
"author": "",
"license": "ISC",
Expand Down
2 changes: 1 addition & 1 deletion scripts/after-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ REPOSITORY=/home/ubuntu/build
cd $REPOSITORY

sudo /usr/bin/yarn
sudo /usr/bin/pm2 start yarn -- start:dev

sudo /usr/bin/pm2 start dist



Expand Down

0 comments on commit 7af73ac

Please sign in to comment.