From a620994cfe54d148c1b04f0fec3c70582282bc7a Mon Sep 17 00:00:00 2001 From: dvirlabs Date: Sun, 4 May 2025 21:25:29 +0300 Subject: [PATCH] Fix commands convrt to - | --- .woodpecker.yml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index dcbb6ed..74c1f7d 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -25,13 +25,14 @@ pipeline: commands: - apk add curl jq - 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" \ - -H "Content-Type: application/json" \ - --data '{ - "type":"CNAME", - "name":"grafana-int", - "content":"b50bbf48-0a2f-47ce-b73e-336b6718318b.cfargotunnel.com", - "ttl":120, - "proxied":true - }' + - | + curl -X POST "https://api.cloudflare.com/client/v4/zones/$CLOUDFLARE_ZONE_ID/dns_records" \ + -H "Authorization: Bearer $CLOUDFLARE_TOKEN" \ + -H "Content-Type: application/json" \ + --data '{ + "type": "CNAME", + "name": "grafana-int", + "content": "b50bbf48-0a2f-47ce-b73e-336b6718318b.cfargotunnel.com", + "ttl": 120, + "proxied": true + }'