File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 branches :
66 - main
77 - develop
8+ - dev
89
910jobs :
1011 build :
Original file line number Diff line number Diff line change @@ -5,4 +5,22 @@ export PATH="$NVM_BIN_PATH:$PATH"
55
66cd /home/ubuntu/application || exit 1
77
8+ # 🚨 [디버깅] 현재 폴더에 뭐가 있는지 확인
9+ echo " >>> Current Directory: $( pwd) "
10+ echo " >>> File Structure (Depth 3):"
11+ find . -maxdepth 3 -not -path ' */.*'
12+
13+ # 2. package.json이 어디 있는지 찾아서 이동 (자동 감지 로직)
14+ if [ -f " apps/editor/package.json" ]; then
15+ echo " >>> Found package.json inside apps/editor! Moving there..."
16+ cd apps/editor
17+ elif [ -f " package.json" ]; then
18+ echo " >>> Found package.json in root."
19+ else
20+ echo " >>> ERROR: Cannot find package.json anywhere!"
21+ exit 1
22+ fi
23+
24+
25+ echo " >>> Installing dependencies in $( pwd) ..."
826pnpm install --production
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ NVM_BIN_PATH="/home/ubuntu/.nvm/versions/node/v22.21.0/bin"
44
55export PATH=" $NVM_BIN_PATH :$PATH "
66
7- cd /home/ubuntu/application || exit 1
7+ cd /home/ubuntu/application/apps/editor || exit 1
88
99
1010if [ ! -f /etc/nginx/conf.d/proxy_pass.inc ]; then
You can’t perform that action at this time.
0 commit comments