Skip to content

Commit ed4f5a6

Browse files
authored
Merge pull request #7 from WebCreatorX/feature/ci-fix
배포 스크립트 수정
2 parents 9696ee3 + c2110de commit ed4f5a6

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

apps/editor/scripts/after_install.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,4 @@ NVM_BIN_PATH="/home/ubuntu/.nvm/versions/node/v22.21.0/bin"
33

44
export PATH="$NVM_BIN_PATH:$PATH"
55

6-
cd /home/ubuntu/application || exit 1
7-
8-
pnpm install
6+
pnpm install --production

apps/editor/scripts/start_server.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ fi
2222
echo ">>> Blue Port: $CURRENT_BLUE_PORT"
2323
echo ">>> Green Port (New Server): $GREEN_PORT"
2424

25-
PORT=$GREEN_PORT pm2 start "node server.js" --name "app-$GREEN_PORT"
25+
PORT=$GREEN_PORT pm2 start "./server.js" --name "app-$GREEN_PORT"
2626

2727
pm2 save
2828

0 commit comments

Comments
 (0)