fix ip4 value for domain TXT DNS record
continuous-integration/drone/push Build is failing Details

jsonnet
Alexander 2023-12-21 12:35:59 +04:00
parent 09ee1f5e4c
commit 30f5d85acd
1 changed files with 1 additions and 1 deletions

View File

@ -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: