Files
EpicNext-Cms/scripts/verify-deploy.sh
T
openhands f2b64bc83a
CI / check (push) Successful in 4m13s
CI / deploy (push) Successful in 19s
CI / publish-container (push) Successful in 1m19s
feat: add verify-deploy, check-env, and db-optimize helper scripts
2026-09-13 21:12:50 +02:00

11 lines
265 B
Bash
Executable File

#!/usr/bin/env bash
# Verify if CMS is reachable
cd "$(dirname "$0")/.."
echo "Checking health..."
if curl -f http://localhost:3002/api/health > /dev/null 2>&1; then
echo "Success: Service is reachable."
else
echo "Error: Service not reachable."
exit 1
fi