Silenced DNS record creation request

This commit is contained in:
Illia Chub 2022-01-11 16:07:03 +02:00
parent fa0598950f
commit 03505572fb

View file

@ -39,7 +39,7 @@ steps:
-H "Authorization: Bearer $CLOUDFLARE_TOKEN" -H "Authorization: Bearer $CLOUDFLARE_TOKEN"
-H "Content-Type: application/json" -H "Content-Type: application/json"
- > - >
curl -X POST "https://api.cloudflare.com/client/v4/zones/$ZONE_ID/dns_records" curl -s -X POST "https://api.cloudflare.com/client/v4/zones/$ZONE_ID/dns_records"
-H "Authorization: Bearer $CLOUDFLARE_TOKEN" -H "Authorization: Bearer $CLOUDFLARE_TOKEN"
-H "Content-Type: application/json" -H "Content-Type: application/json"
--data '{"type":"A","name":"@","content":"'"$$machineip"'","ttl":3600,"priority":10,"proxied":false}' --data '{"type":"A","name":"@","content":"'"$$machineip"'","ttl":3600,"priority":10,"proxied":false}'