Debugging CF subdomain step......

This commit is contained in:
2025-01-01 13:48:14 -05:00
parent 4f40973910
commit 389e2b7afa
+7 -11
View File
@@ -45,9 +45,9 @@ jobs:
with: with:
path: | path: |
~/.cache/go-build ~/.cache/go-build
~/go/pkg/mod ~/.config/go/env
~/go/bin/flarectl ~/go/
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} key: ${{ runner.os }}-go-${{ steps. }}
restore-keys: | restore-keys: |
${{ runner.os }}-go- ${{ runner.os }}-go-
@@ -62,7 +62,10 @@ jobs:
- name: Setup jq - name: Setup jq
uses: dcarbone/install-jq-action@v3.0.1 uses: dcarbone/install-jq-action@v3.0.1
- name: Setup flarectl - name: Retrieve Subdomains from Cloudflare
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ZONE_ID: ${{ secrets.CLOUDFLARE_ZONE_ID }}
run: | run: |
go env go env
if [ -z "$(echo $GOPATH)" ]; then if [ -z "$(echo $GOPATH)" ]; then
@@ -77,13 +80,6 @@ jobs:
else else
echo "flarectl found in cache." echo "flarectl found in cache."
fi fi
- name: Retrieve Cloudflare Subdomains
id: compare-subdomains
env:
CF_API_KEY: ${{ secrets.CF_API_TOKEN }}
CF_API_EMAIL: ${{ secrets.CF_API_EMAIL }}
run: |
flarectl --json dns list --zone "trez.wtf" --type=CNAME --content "trez.wtf" | jq > cloudflare_subdomains.txt flarectl --json dns list --zone "trez.wtf" --type=CNAME --content "trez.wtf" | jq > cloudflare_subdomains.txt
- name: Grab subdomains from Compose - name: Grab subdomains from Compose