Fixed acmetest for domain acmetestXyzRandomName.github-test.<domain> that was explicitly disallowed as it is not _acme-challenge

This commit is contained in:
Bjarke Bruun committed 2022-07-07 09:40:18 +02:00
1 parent a364ab4ea7
commit 444b111a62
1 file changed
+2 -1
+2 -1
View File
@@ -204,7 +204,8 @@ deleteRecord() {
fulldomain=$1
txtvalue=$2
if [ "$(echo "$fulldomain" | grep "_acme-challenge")" = "" ]; then
# 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
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.