Switching to a different setup-go action.
This commit is contained in:
@@ -43,13 +43,17 @@ jobs:
|
||||
- name: Setup yq
|
||||
uses: dcarbone/install-yq-action@v1
|
||||
|
||||
- name: Setup go
|
||||
uses: WillAbides/setup-go-faster@v1.14.0
|
||||
with:
|
||||
go-version: 'stable'
|
||||
|
||||
- name: Subdomain Check/Creation
|
||||
id: domain-check
|
||||
env:
|
||||
CF_API_KEY: ${{ secrets.CF_API_TOKEN }}
|
||||
CF_API_EMAIL: ${{ secrets.CF_API_EMAIL }}
|
||||
run: |
|
||||
which go
|
||||
go install github.com/cloudflare/cloudflare-go/cmd/flarectl@latest
|
||||
flarectl d l --zone trez.wtf --type CNAME --content trez.wtf | egrep -v 'ID' | awk '{print $5}' > cf_subdomain_list.txt
|
||||
swag_urls=$(yq '.services[].labels.swag_url' docker-compose.yml | egrep -v 'null' | sed -e 's|"||g' | awk -F'.' '{print $1}')
|
||||
|
||||
Reference in New Issue
Block a user