GitHub bot: fix linting issues (nobuild)

This commit is contained in:
github-actions
2025-07-16 21:15:48 +00:00
parent 5b7bafb775
commit fb1f2761d7

View File

@@ -151,25 +151,25 @@ wait_minio_ready_and_bucket() {
}
start_web() {
if $DISABLE_WEB_UI; then
bashio::log.info "Web UI disabled."
return 0
fi
if $DISABLE_WEB_UI; then
bashio::log.info "Web UI disabled."
return 0
fi
# Prepare static assets with actual origins (does safe sed replacements).
ENTE_API_ORIGIN="${ENTE_API_ORIGIN:-http://[HOST]:[PORT:8080]}"
ENTE_ALBUMS_ORIGIN="${ENTE_ALBUMS_ORIGIN:-${ENTE_API_ORIGIN}}"
export ENTE_API_ORIGIN ENTE_ALBUMS_ORIGIN
/usr/local/bin/ente-web-prepare || bashio::log.warning "Web env substitution step returned nonzero; continuing."
# Prepare static assets with actual origins (does safe sed replacements).
ENTE_API_ORIGIN="${ENTE_API_ORIGIN:-http://[HOST]:[PORT:8080]}"
ENTE_ALBUMS_ORIGIN="${ENTE_ALBUMS_ORIGIN:-${ENTE_API_ORIGIN}}"
export ENTE_API_ORIGIN ENTE_ALBUMS_ORIGIN
/usr/local/bin/ente-web-prepare || bashio::log.warning "Web env substitution step returned nonzero; continuing."
# nginx expects runtime dirs
mkdir -p /run/nginx
# log dir
mkdir -p /var/log/nginx
# nginx expects runtime dirs
mkdir -p /run/nginx
# log dir
mkdir -p /var/log/nginx
bashio::log.info "Starting Ente web (nginx, ports 30003004)..."
nginx -c /etc/ente-web/nginx.conf -g 'daemon off;' &
WEB_PID=$!
bashio::log.info "Starting Ente web (nginx, ports 30003004)..."
nginx -c /etc/ente-web/nginx.conf -g 'daemon off;' &
WEB_PID=$!
}
start_museum_foreground() {