Skip to content

Commit

Permalink
Update deploy-dev.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
devYSK authored Mar 25, 2024
1 parent 6c481dd commit 4a72a2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deploy-dev.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/bash


if [ $(docker ps | grep -c "nginx-dev") -eq 0 ]; then
echo "Starting nginx-dev..."
docker-compose up -d nginx-dev
Expand Down Expand Up @@ -28,7 +29,6 @@ echo




# Blue λ₯Ό κΈ°μ€€μœΌλ‘œ ν˜„μž¬ λ– μžˆλŠ” μ»¨ν…Œμ΄λ„ˆλ₯Ό μ²΄ν¬ν•œλ‹€.
RUNNING_BLUE_CONTAINER=$(docker ps | grep blue)

Expand Down Expand Up @@ -98,4 +98,4 @@ if [ $(docker ps | grep -c "$STARTED_CONTAINER") -eq 1 ]; then
else
echo "$STARTED_CONTAINER is not running."
fi
## end
## end

0 comments on commit 4a72a2a

Please sign in to comment.