mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-infect.git
synced 2024-11-26 05:21:26 +00:00
fix ip4 value for domain TXT DNS record
This commit is contained in:
parent
09ee1f5e4c
commit
30f5d85acd
|
@ -72,7 +72,7 @@ steps:
|
||||||
curl -s -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":"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
|
- name: wait for NixOS boot
|
||||||
environment:
|
environment:
|
||||||
|
|
Loading…
Reference in a new issue