From 30f5d85acdaa1be3b149fa2734daff620391753b Mon Sep 17 00:00:00 2001 From: Alexander Tomokhov Date: Thu, 21 Dec 2023 12:35:59 +0400 Subject: [PATCH] fix ip4 value for domain TXT DNS record --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 5529ca9..5288fbf 100644 --- a/.drone.yml +++ b/.drone.yml @@ -72,7 +72,7 @@ steps: curl -s -X POST "https://api.cloudflare.com/client/v4/zones/$ZONE_ID/dns_records" -H "Authorization: Bearer $CLOUDFLARE_TOKEN" -H "Content-Type: application/json" - --data '{"type":"TXT","name":"'"$$DOMAIN"'","content":"v=spf1 a mx ip4:$machineip -all","ttl":18000,"priority":10,"proxied":false}' + --data "{\"type\":\"TXT\",\"name\":\"$DOMAIN\",\"content\":\"v=spf1 a mx ip4:$machineip -all\",\"ttl\":18000,\"priority\":10,\"proxied\":false}" - name: wait for NixOS boot environment: