diff --git a/ship.sh b/ship.sh index 4736586..d6bd1eb 100755 --- a/ship.sh +++ b/ship.sh @@ -1,9 +1,7 @@ #!/bin/bash set -e -SCRIPT_DIR=$(cd "$(dirname "$0")" && pwd) - -# X Poster Build & Deploy Script +# Blog Build & Deploy Script REGISTRY="harbor.scottyah.com" NAMESPACE="scottyah" IMAGE_NAME="blog" @@ -26,7 +24,7 @@ while [[ $# -gt 0 ]]; do -h|--help) echo "Usage: ./ship.sh [OPTIONS]" echo "" - echo "Build and deploy X Poster to Kubernetes" + echo "Build and deploy Blog to Kubernetes" echo "" echo "Options:" echo " --build-only Only build and push Docker image" @@ -67,7 +65,7 @@ if [ "$DEPLOY_ONLY" = false ]; then --network=host \ -t "${TAG_TIMESTAMP}" \ -t "${TAG_LATEST}" \ - "$SCRIPT_DIR/.." + "." echo "" echo "✅ Build complete!" @@ -94,7 +92,7 @@ if [ "$BUILD_ONLY" = false ]; then # Apply Kubernetes configuration echo "Applying Kubernetes configuration..." - kubectl apply -f "$SCRIPT_DIR/../k8s.yaml" + kubectl apply -f "k8s.yaml" echo "" echo "Waiting for namespace to be ready..."