chore(ci): master deployt Starter nicht (exit 0 bei Platzhaltern)
deploy to production / deploy (push) Successful in 46s

This commit is contained in:
2026-10-05 17:04:50 +00:00
parent a82ac5f28e
commit 3b29930b8a
+6
View File
@@ -11,6 +11,12 @@ set -o allexport
. ./api/config.yml.env
set +o allexport
# Starter template: never deploy master to production (placeholders still present)
if [ "${PROJECT_NAME:-}" = "__PROJECT_NAME__" ] || [[ "${PRODUCTION_PATH:-}" == *"_CUSTOMER_ID_"* ]] || [ "${LIVE_URL:-}" = "https://www" ]; then
echo "ci-deploy: starter template detected (PROJECT_NAME=${PROJECT_NAME:-?}), skipping production deploy."
exit 0
fi
# Validate required env vars
for var in RSYNC_USER RSYNC_PASS RSYNC_HOST RSYNC_PORT; do
if [ -z "${!var:-}" ]; then