fix: github switch

This commit is contained in:
racitup 2021-12-20 00:58:37 +00:00 committed by neil
parent 56d799f449
commit f46ee93597

View File

@ -166,8 +166,8 @@ _initAuth() {
# authentication. This works arounds this by using an undocumented MB API to obtain a token not tied to an
# IP just for the github tests.
_oauth2() {
_info "$(printenv)"
if [ -z "$TEST_DNS_SLEEP" ]; then
_info "DOMAIN: $TEST_DNS"
if [ "$TEST_DNS" != "dns_mythic_beasts" ]; then
_oauth2_std
else
_oauth2_github