Fix commands convrt to - |

This commit is contained in:
dvirlabs 2025-05-04 21:25:29 +03:00
parent 95f40dbb25
commit a620994cfe

View File

@ -25,13 +25,14 @@ pipeline:
commands: commands:
- apk add curl jq - apk add curl jq
- echo "🌐 Creating CNAME for grafana-int.dvirlabs.com" - echo "🌐 Creating CNAME for grafana-int.dvirlabs.com"
- curl -X POST "https://api.cloudflare.com/client/v4/zones/$CLOUDFLARE_ZONE_ID/dns_records" \ - |
-H "Authorization: Bearer $CLOUDFLARE_TOKEN" \ curl -X POST "https://api.cloudflare.com/client/v4/zones/$CLOUDFLARE_ZONE_ID/dns_records" \
-H "Content-Type: application/json" \ -H "Authorization: Bearer $CLOUDFLARE_TOKEN" \
--data '{ -H "Content-Type: application/json" \
"type":"CNAME", --data '{
"name":"grafana-int", "type": "CNAME",
"content":"b50bbf48-0a2f-47ce-b73e-336b6718318b.cfargotunnel.com", "name": "grafana-int",
"ttl":120, "content": "b50bbf48-0a2f-47ce-b73e-336b6718318b.cfargotunnel.com",
"proxied":true "ttl": 120,
}' "proxied": true
}'