Skip to content

Commit

Permalink
Update deploy.sh : 문법 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
05AM authored Oct 3, 2023
1 parent f5e4dbd commit 94db60d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ DEPLOY_PATH=/home/ubuntu/app/nonstop/jar/
cp $BUILD_PATH $DEPLOY_PATH

echo "> 현재 구동중인 Set 확인"
if [ "$DEPLOY_ENV" == "main" ]
if [ $DEPLOY_ENV == "main" ]
then
CURRENT_PROFILE=$(curl -s https://api.tattour.shop/profile)
elif [ "$DEPLOY_ENV" == "dev" ]
elif [ $DEPLOY_ENV == "dev" ]
then
CURRENT_PROFILE=$(curl -s https://dev.tattour.shop/profile)
echo "> $CURRENT_PROFILE"
Expand Down

0 comments on commit 94db60d

Please sign in to comment.