Removing jq from docker run action

This commit is contained in:
2025-01-01 10:47:59 -05:00
parent fc59ae6276
commit a2a65c5992
+1 -4
View File
@@ -43,9 +43,6 @@ jobs:
- name: Setup yq
uses: dcarbone/install-yq-action@v1
- name: Setup jq
uses: dcarbone/install-jq-action@v3
- name: Grab subdomains from Compose
id: compose-domains
env:
@@ -62,7 +59,7 @@ jobs:
image: quay.io/aminvakil/flarectl:latest
options: -v ${{ github.workspace }}:/workspace -e CF_API_KEY=${{ secrets.CF_API_TOKEN }} -e CF_API_EMAIL=${{ secrets.CF_API_EMAIL }}
run: |
flarectl --json dns list --zone ${{ secrets.CF_ZONE_ID }} --type CNAME --content "trez.wtf" | jq '.[].Name' | sed -e 's|.trez.wtf||g' -e 's|"||g' | sort -u > /workspace/cloudflare_subdomains.txt
flarectl --json dns list --zone ${{ secrets.CF_ZONE_ID }} --type CNAME --content "trez.wtf" | > /workspace/cloudflare_subdomains.txt
- name: Compare & Create Missing Subdomains
id: compare-subdomains