chore: protect external runtime connection settings
This commit is contained in:
@@ -205,14 +205,7 @@ jobs:
|
||||
exit 1
|
||||
fi
|
||||
echo "✓ DLL verified"
|
||||
# Production connection settings must come from the service
|
||||
# EnvironmentFile, never from a versioned appsettings file.
|
||||
SERVICE_ENV=$(sudo systemctl show "$SERVICE_NAME" -p EnvironmentFiles --value 2>/dev/null || true)
|
||||
if [ -z "$SERVICE_ENV" ]; then
|
||||
echo "ERROR: $SERVICE_NAME has no EnvironmentFile; database credentials are not configured"
|
||||
exit 1
|
||||
fi
|
||||
echo "✓ External service environment configured"
|
||||
echo "✓ Runtime configuration is managed outside the release artifact"
|
||||
|
||||
# 3. Update Symlink
|
||||
echo ""
|
||||
|
||||
Reference in New Issue
Block a user