Skip to content

Commit c8bbc6d

Browse files
committed
chore(BE): codedeploy scripts 수정 (#2)
1 parent 7045093 commit c8bbc6d

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

backend/scripts/deploy-dev.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
export NVM_DIR="$HOME/.nvm"
2+
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
3+
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
4+
15
REPOSITORY=/home/ubuntu/deploy/dev
26

37
cd $REPOSITORY

backend/scripts/deploy-prod.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
export NVM_DIR="$HOME/.nvm"
2+
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
3+
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
4+
15
REPOSITORY=/home/ubuntu/deploy/prod
26

37
cd $REPOSITORY

0 commit comments

Comments
 (0)