Processed apps directory via GitHub Actions

This commit is contained in:
QYG2297248353
2025-12-09 05:30:33 +00:00
parent 63f43d6222
commit 35e927ec6c
2 changed files with 6 additions and 2 deletions
+3 -1
View File
@@ -3,6 +3,7 @@
DEFAULT_PORT=16601
PORT_FILE="/app/conf/port"
WAIT_SECONDS=30
DELAY_AFTER_PORT_UP=5
if [ -f "$PORT_FILE" ]; then
DETECT_PORT=$(cat "$PORT_FILE")
@@ -30,7 +31,8 @@ while ! nc -z 127.0.0.1 "${DETECT_PORT}" 2>/dev/null; do
done
if nc -z 127.0.0.1 "${DETECT_PORT}" 2>/dev/null; then
echo "Port ${DETECT_PORT} is up."
echo "Port ${DETECT_PORT} is up. Waiting extra ${DELAY_AFTER_PORT_UP}s..."
sleep ${DELAY_AFTER_PORT_UP}
else
echo "Port ${DETECT_PORT} still not open, continuing anyway."
fi
+3 -1
View File
@@ -3,6 +3,7 @@
DEFAULT_PORT=16601
PORT_FILE="/app/conf/port"
WAIT_SECONDS=30
DELAY_AFTER_PORT_UP=5
if [ -f "$PORT_FILE" ]; then
DETECT_PORT=$(cat "$PORT_FILE")
@@ -30,7 +31,8 @@ while ! nc -z 127.0.0.1 "${DETECT_PORT}" 2>/dev/null; do
done
if nc -z 127.0.0.1 "${DETECT_PORT}" 2>/dev/null; then
echo "Port ${DETECT_PORT} is up."
echo "Port ${DETECT_PORT} is up. Waiting extra ${DELAY_AFTER_PORT_UP}s..."
sleep ${DELAY_AFTER_PORT_UP}
else
echo "Port ${DETECT_PORT} still not open, continuing anyway."
fi