From bb1034e01fa155473f8379211b9d965c8d5153d6 Mon Sep 17 00:00:00 2001 From: "Trez.One" Date: Wed, 1 Jan 2025 11:02:27 -0500 Subject: [PATCH] ... --- .gitea/workflows/deployment.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/deployment.yml b/.gitea/workflows/deployment.yml index b0931fbb..09c516d2 100644 --- a/.gitea/workflows/deployment.yml +++ b/.gitea/workflows/deployment.yml @@ -63,8 +63,7 @@ jobs: CF_API_KEY=${{ secrets.CF_API_TOKEN }} CF_API_EMAIL=${{ secrets.CF_API_EMAIL }} EOF - alias flarectl="docker run -it --rm --env-file cloudflare.env quay.io/aminvakil/flarectl:latest flarectl" - flarectl --json dns list --zone ${{ secrets.CF_ZONE_ID }} --type CNAME --content "trez.wtf" | jq '.[].Name' | sed -e 's|"||g' | awk -F. '{print $1}' | sort > cloudflare_subdomains.txt + docker run -it --rm --env-file cloudflare.env quay.io/aminvakil/flarectl:latest flarectl --json dns list --zone ${{ secrets.CF_ZONE_ID }} --type CNAME --content "trez.wtf" | jq '.[].Name' | sed -e 's|"||g' | awk -F. '{print $1}' | sort > cloudflare_subdomains.txt - name: Compare Subdomains id: compare-subdomains @@ -82,7 +81,7 @@ jobs: fi for subdomain in $(cat missing_subdomains.txt); do echo "Adding ${subdomain} to Cloudflare..." - flarectl dns creeate --zone ${{ secrets.CF_ZONE_ID }} --type CNAME --name "${subdomain}" --content "trez.wtf" --proxy true + docker run -it --rm --env-file cloudflare.env quay.io/aminvakil/flarectl:latest flarectl dns creeate --zone ${{ secrets.CF_ZONE_ID }} --type CNAME --name "${subdomain}" --content "trez.wtf" --proxy true done # docker-compose-test: