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
eba788e8
Commit
eba788e8
authored
Jul 07, 2022
by
Bjarke Bruun
Browse files
Removed check for _acme-challenge and acmetestXyzRandomName.github-test sub-domain
parent
444b111a
Changes
1
Show whitespace changes
Inline
Side-by-side
dnsapi/dns_dnsservices.sh
View file @
eba788e8
...
@@ -204,12 +204,6 @@ deleteRecord() {
...
@@ -204,12 +204,6 @@ deleteRecord() {
fulldomain
=
$1
fulldomain
=
$1
txtvalue
=
$2
txtvalue
=
$2
# Fix for acmetest to limit acme.sh to only work on _acme-challenge and acmeTestXYzRandomName in GitHub actions
if
[
"
$(
echo
"
$fulldomain
"
|
grep
"_acme-challenge
\|
acmetestXyzRandomName.github-test"
)
"
=
""
]
;
then
_err
"The script tried to delete the record
$fulldomain
which is not the above created ACME challenge"
return
1
fi
_debug2 deleteRecord
"Deleting
$fulldomain
TXT
$txtvalue
record"
_debug2 deleteRecord
"Deleting
$fulldomain
TXT
$txtvalue
record"
if
[
-z
"
$rootZoneName
"
]
||
[
-z
"
$rootZoneDomainID
"
]
||
[
-z
"
$rootZoneServiceID
"
]
;
then
if
[
-z
"
$rootZoneName
"
]
||
[
-z
"
$rootZoneDomainID
"
]
||
[
-z
"
$rootZoneServiceID
"
]
;
then
...
...
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