This commit is contained in:
legop3
2025-11-28 00:51:36 -05:00
parent 9e089b6e4d
commit 1daf5d7d03
2 changed files with 8 additions and 1 deletions
+6 -1
View File
@@ -12,7 +12,12 @@ fi
# shellcheck disable=SC1090
source "$ENV_FILE"
: "${PUBLISH_URL:?PUBLISH_URL not set in ${ENV_FILE}}"
PUBLISH_URL="${PUBLISH_URL:-}"
if [[ -z "${PUBLISH_URL}" ]]; then
echo "PUBLISH_URL not set in ${ENV_FILE}; contents:" >&2
sed -n '1,200p' "$ENV_FILE" >&2
exit 1
fi
VIDEO_WIDTH="${VIDEO_WIDTH:-1920}"
VIDEO_HEIGHT="${VIDEO_HEIGHT:-1080}"