feat: restore credit limits and harden SMS sending
This commit is contained in:
@@ -19,6 +19,16 @@ set -a
|
||||
source "$ENV_FILE"
|
||||
set +a
|
||||
|
||||
if [[ "${API_ENABLE_SEND_WORKER:-}" != "true" ]]; then
|
||||
echo "API_ENABLE_SEND_WORKER=true is required in $ENV_FILE; refusing to deploy with SMS sending disabled." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [[ ! "${API_SEND_WORKER_CONCURRENCY:-}" =~ ^[1-9][0-9]*$ ]]; then
|
||||
echo "API_SEND_WORKER_CONCURRENCY must be a positive integer in $ENV_FILE." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
cd "$APP_DIR"
|
||||
|
||||
echo "[deploy] Installing dependencies"
|
||||
|
||||
Reference in New Issue
Block a user