Update run.sh

This commit is contained in:
Alexandre
2021-01-31 17:21:04 +01:00
committed by GitHub
parent 6d401cbc31
commit 262f534c61

View File

@@ -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