diff --git a/code/websites/pokedex.online/deploy.sh b/code/websites/pokedex.online/deploy.sh index a23a064..cec0e5a 100755 --- a/code/websites/pokedex.online/deploy.sh +++ b/code/websites/pokedex.online/deploy.sh @@ -326,10 +326,12 @@ verify_deployment() { # Determine host based on target if [ "$TARGET" = "internal" ]; then HOST="10.0.0.81" - else + elif [ "$TARGET" = "external" ]; then HOST="home.gregrjacobs.com" + else + HOST="localhost" fi - + log_info "Checking frontend health..." sleep 3 # Give containers time to start @@ -358,8 +360,10 @@ print_summary() { # Determine host based on target if [ "$TARGET" = "internal" ]; then HOST="10.0.0.81" - else + elif [ "$TARGET" = "external" ]; then HOST="home.gregrjacobs.com" + else + HOST="localhost" fi echo -e "${GREEN}━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━${NC}"