From 262f534c613f2bce236f3e638293d164cf7f8334 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sun, 31 Jan 2021 17:21:04 +0100 Subject: [PATCH] Update run.sh --- addons_updater/run.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/addons_updater/run.sh b/addons_updater/run.sh index 4518707fb..6f78562f7 100644 --- a/addons_updater/run.sh +++ b/addons_updater/run.sh @@ -13,10 +13,10 @@ git config --system user.name ${GITUSER} git config --system user.password ${GITPASS} git config --system user.email ${GITMAIL} -#if bashio::config.has_value 'gitapi'; then -#bashio::log.info "... setting github API" +if bashio::config.has_value 'gitapi'; then +bashio::log.info "... setting github API" export GITHUB_API_TOKEN=$(bashio::config 'gitapi') -#fi +fi bashio::log.info "... parse addons" for addons in $(bashio::config "addon|keys"); do