Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
f46ee935
Commit
f46ee935
authored
Dec 20, 2021
by
racitup
Committed by
neil
Jan 06, 2022
Browse files
fix: github switch
parent
56d799f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_mythic_beasts.sh
View file @
f46ee935
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment