diff --git a/.drone.yml b/.drone.yml index 02d9a16..340acd9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -42,7 +42,7 @@ steps: curl -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":"A","name":"$DOMAIN","content":"23.88.125.6","ttl":3600,"priority":10,"proxied":false}' + --data '{"type":"A","name":"@","content":"23.88.125.6","ttl":3600,"priority":10,"proxied":false}' - > curl -s -X POST "https://api.cloudflare.com/client/v4/zones/$ZONE_ID/dns_records" -H "Authorization: Bearer $CLOUDFLARE_TOKEN"