fix: deploy.sh auto-selects compose file, docker-compose.yml uses correct Stripe var names
Some checks failed
Deploy to Production / Build and Deploy (push) Failing after 1m16s

This commit is contained in:
2026-05-31 21:51:38 +02:00
parent c7c1fd8436
commit b067be2ff7
2 changed files with 14 additions and 5 deletions

View File

@@ -52,7 +52,12 @@ cd "$SCRIPT_DIR"
COMPOSE_LOCAL="docker-compose.local.yml"
COMPOSE_PROD="docker-compose.yml"
ENV_FILE=".env.docker"
COMPOSE_FILE="$COMPOSE_LOCAL"
# Default to production compose if local compose doesn't exist (server context)
if [ -f "$COMPOSE_LOCAL" ] && [ -f ".env.docker" ]; then
COMPOSE_FILE="$COMPOSE_LOCAL"
else
COMPOSE_FILE="$COMPOSE_PROD"
fi
COMMAND=""
SERVICE=""
NO_BUILD=false