1
0
mirror of https://github.com/TeamPiped/Piped.git synced 2024-12-14 14:20:28 +05:30

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 path: ./dist
service: infura service: infura
- name: Update DNSLink - name: Update DNSLink
run: npx dnslink-cloudflare -d kavin.rocks -l /ipfs/${{ steps.ipfs-add.outputs.hash }} -r _dnslink.piped-ipfs
env: env:
CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }} CF_API_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 }}