actions: use npx package to change dns record.

This commit is contained in:
FireMasterK 2020-12-20 16:40:25 +05:30
parent 339195f799
commit e03c8ba263

View file

@ -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 }}