...
This commit is contained in:
@@ -54,11 +54,10 @@ jobs:
|
|||||||
CF_API_KEY: ${{ secrets.CF_API_TOKEN }}
|
CF_API_KEY: ${{ secrets.CF_API_TOKEN }}
|
||||||
CF_API_EMAIL: ${{ secrets.CF_API_EMAIL }}
|
CF_API_EMAIL: ${{ secrets.CF_API_EMAIL }}
|
||||||
run: |
|
run: |
|
||||||
if [ -z $(go env GOPATH) ]; then
|
echo "Installing flarectl..."
|
||||||
export GOPATH=${{ github.workspace }}/go
|
|
||||||
if [ -z $(go env GOBIN) ]; then
|
if [ -z $(go env GOBIN) ]; then
|
||||||
export GOBIN=${{ github.workspace }}
|
export GOBIN=${{ github.workspace }}
|
||||||
echo "Installing flarectl..."
|
fi
|
||||||
go install github.com/cloudflare/cloudflare-go/cmd/flarectl@latest 2>&1
|
go install github.com/cloudflare/cloudflare-go/cmd/flarectl@latest 2>&1
|
||||||
echo "Grabbing most up-to-date subdomain list from Cloudflare..."
|
echo "Grabbing most up-to-date subdomain list from Cloudflare..."
|
||||||
./flarectl d l --zone trez.wtf --type CNAME --content trez.wtf | egrep -v 'ID' | awk '{print $5}' > cf_subdomain_list.txt
|
./flarectl d l --zone trez.wtf --type CNAME --content trez.wtf | egrep -v 'ID' | awk '{print $5}' > cf_subdomain_list.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user