From e03c8ba263e022c1320f19ac19d7738a6e4da0d2 Mon Sep 17 00:00:00 2001 From: FireMasterK <20838718+FireMasterK@users.noreply.github.com> Date: Sun, 20 Dec 2020 16:40:25 +0530 Subject: [PATCH] actions: use npx package to change dns record. --- .github/workflows/build.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c066ef00..7eaad526 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,11 +29,6 @@ jobs: path: ./dist service: infura - name: Update DNSLink + run: npx dnslink-cloudflare -d kavin.rocks -l /ipfs/${{ steps.ipfs-add.outputs.hash }} -r _dnslink.piped-ipfs env: - CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }} - RECORD_DOMAIN: "kavin.rocks" - RECORD_NAME: "_dnslink.piped-ipfs" - CLOUDFLARE_TOKEN_ZONE_ID: ${{ secrets.CLOUDFLARE_TOKEN_ZONE_ID }} - uses: textileio/cloudflare-update-dnslink@master - with: - cid: ${{ steps.ipfs-add.outputs.hash }} + CF_API_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }}