diff --git a/.github/workflows/arrow-aws.yml b/.github/workflows/arrow-aws.yml index dcf37cd..0fcfd55 100644 --- a/.github/workflows/arrow-aws.yml +++ b/.github/workflows/arrow-aws.yml @@ -159,7 +159,7 @@ jobs: RECORD_ID=$(curl --request GET \ --url https://api.cloudflare.com/client/v4/zones/${{ env.CLOUDFLARE_ZONE_ID }}/dns_records \ --header 'Content-Type: application/json' \ - --header "Authorization: Bearer ${{ env.CLOUDFLARE_API_TOKEN }}" | jq -r '.result[] | select(.name == "transmission.${{ env.ZONE_NAME }}") | .id') + --header "Authorization: Bearer ${{ env.CLOUDFLARE_API_TOKEN }}" | jq -r '.result[] | select(.name == "n8n2.${{ env.ZONE_NAME }}") | .id') curl --request DELETE \ --url https://api.cloudflare.com/client/v4/zones/${{ env.CLOUDFLARE_ZONE_ID }}/dns_records/${RECORD_ID} \ --header 'Content-Type: application/json' \ diff --git a/.github/workflows/arrow.yml b/.github/workflows/arrow.yml index 90f0280..3fe6617 100644 --- a/.github/workflows/arrow.yml +++ b/.github/workflows/arrow.yml @@ -147,7 +147,7 @@ jobs: RECORD_ID=$(curl --request GET \ --url https://api.cloudflare.com/client/v4/zones/${{ env.CLOUDFLARE_ZONE_ID }}/dns_records \ --header 'Content-Type: application/json' \ - --header "Authorization: Bearer ${{ env.CLOUDFLARE_API_TOKEN }}" | jq -r '.result[] | select(.name == "transmission.${{ env.ZONE_NAME }}") | .id') + --header "Authorization: Bearer ${{ env.CLOUDFLARE_API_TOKEN }}" | jq -r '.result[] | select(.name == "n8n2.${{ env.ZONE_NAME }}") | .id') curl --request DELETE \ --url https://api.cloudflare.com/client/v4/zones/${{ env.CLOUDFLARE_ZONE_ID }}/dns_records/${RECORD_ID} \ --header 'Content-Type: application/json' \